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

cannot build images with base image from private repo #114

Open
acraciun opened this issue Apr 25, 2016 · 0 comments
Open

cannot build images with base image from private repo #114

acraciun opened this issue Apr 25, 2016 · 0 comments

Comments

@acraciun
Copy link

acraciun commented Apr 25, 2016

When the FROM image is taken from a private repository we get this error message:
ERROR: Received unexpected HTTP status: 502 Connection refused

The reason seems to be the fact that you don't add the X-Registry-Config header. Instead you add X-Registry-Auth.
See the details for the request here:
https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#build-image-from-a-dockerfile

Thanks for the fix

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

1 participant