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

"Host key verification failed" when building from private git repo #886

Closed
aidan-mundy opened this issue Oct 27, 2021 · 1 comment
Closed
Labels

Comments

@aidan-mundy
Copy link

aidan-mundy commented Oct 27, 2021

When building a docker image using BuildImage and a BuildImageOptions containing a Remote value (instead of ContextDir), any git repo accessed over the git/ssh protocol returns API error (500): error fetching: Host key verification failed. Git repo access over the https protocol works fine for public repos, but private repos error with API error (500): error fetching: fatal: could not read Username for 'https://HOSTNAMEHERE': No such device or address

Related to #376
Related to docker/compose#3038
Related to docker/compose#2856

@stale
Copy link

stale bot commented Jan 7, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Jan 7, 2022
@stale stale bot closed this as completed Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant