Skip to content

Switch to send full AuthConfig object for build action#677

Closed
moutten wants to merge 1 commit intodocker:masterfrom
moutten:fix-build-auth
Closed

Switch to send full AuthConfig object for build action#677
moutten wants to merge 1 commit intodocker:masterfrom
moutten:fix-build-auth

Conversation

@moutten
Copy link
Copy Markdown
Contributor

@moutten moutten commented Jul 17, 2015

In order to support the docker API for version 1.7+, this command
changes the way the X-Registry-Config header is sent when attempting
to build an image.

This fixes an issue I've experienced when using docker-compose and building
an image which is based off of a private image hosted at Docker Hub. I don't believe
this change is backwards compatible, and I'm not familiar enough with python to
have a solution for that. I'd appreciate some help if that is necessary.

Here's the commit on the Docker project where they changed the way the AuthConfig
objects were being parsed for the build API endpoint.

In order to support the docker API for version 1.7+, this command
changes the way the `X-Registry-Config` header is sent when attempting
to build an image.
@shin-
Copy link
Copy Markdown
Contributor

shin- commented Jul 20, 2015

I created #682 based off of this, with a change to support older versions of the API / Docker daemon. Feel free to review it! I will close this PR in favor of the new one as a result,

@shin- shin- closed this Jul 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants