Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

propagating keys in dind #59

Closed
basz opened this issue Aug 13, 2018 · 0 comments
Closed

propagating keys in dind #59

basz opened this issue Aug 13, 2018 · 0 comments

Comments

@basz
Copy link

basz commented Aug 13, 2018

I'm trying to use this container inside a gitlab-ci build with a private repository.

Repositories from github.com install fine, but for my private repo's I keep getting 'Host key verification failed." errors.

here is the current experiment I'm working on: https://gist.github.com/basz/87a0467541cc9f8dbd64a2f992a712df#file-gistfile1-txt-L11

Note that the git clone private-repo-url does work, telling me that key and known hosts are setup correctly on the 'docker:git' container.

It's a linux box, latest docker and gitlab (via docker)

edit: clue: Im now thinking it has something to do with the MOUNT_POINT environment var mentioned in here: https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-in-docker-executor The dind composer container might need to mount file/dirs from that...

@basz basz changed the title propagating dind propagating keys in dind Sep 4, 2018
@alcohol alcohol closed this as completed Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants