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

Unable to pull private images when using credentials helper #3622

Closed
nkovacs opened this issue Jun 21, 2016 · 14 comments
Closed

Unable to pull private images when using credentials helper #3622

nkovacs opened this issue Jun 21, 2016 · 14 comments
Assignees
Labels
Milestone

Comments

@nkovacs
Copy link

nkovacs commented Jun 21, 2016

I'm using the secretservice credentials helper with docker 1.11.2 and docker-compose 1.8.0-rc1.
If I try to run docker-compose up, it fails to pull private images from our gitlab registry. --verbose says:

docker.auth.auth.resolve_authconfig: No entry found
docker.api.image.pull: No auth config found

Pulling the image manually using docker pull works.

@nkovacs
Copy link
Author

nkovacs commented Jun 21, 2016

docker-compose version 1.8.0-rc1, build 9bf6bc6
docker-py version: 1.8.1
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013

@EugenMayer
Copy link

same here, same docker-compose version. Docker pull works, of course - cause is the credentials helper, i use

"credsStore": "osxkeychain"

docker-compose version 1.8.0-rc1
Docker version 1.11.2, build b9f10c9

@grosskur
Copy link

I think docker-py first needs to be updated to support the credential store API. See docker/docker-py/issues/1023. Then docker-compose can be updated to use the new docker-py.

@EugenMayer
Copy link

@grosskur docker is supporting credenial stores now, but compose is not. Is there any chance to move on?

@trevoro
Copy link

trevoro commented Sep 12, 2016

@shin- is there a proposal on fixing this? Would be happy to help.

@shin-
Copy link

shin- commented Sep 12, 2016

@trevoro You can try out #3930 (or if you installed docker-compose via pip, just pip install -U docker-py==1.10.2) !

@trevoro
Copy link

trevoro commented Sep 14, 2016

👌

On Tuesday, 13 September 2016, Daniel Nephin notifications@github.com
wrote:

Closed #3622 #3622 via #3930
#3930.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#3622 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABQCG9EuDUUoOqxgBBw6Y77gm9KtUYHks5qprTfgaJpZM4I6u8V
.

@jkinkead
Copy link

I have compose installed via Docker for Mac (Version 1.12.3 (13776)), and I'm seeing this issue.

$ docker-compose --version
docker-compose version 1.8.1, build 878cff1

Maybe the bundled docker-py isn't the right version?

@jkinkead
Copy link

Sorry, I take that back: This bug is slightly different.

I have a build clause in my docker-compose.yml file, and the build step fails if the FROM image is in a private repository that isn't cached already.

docker pull works correctly.

@nkovacs
Copy link
Author

nkovacs commented Dec 16, 2016

That's probably the same bug. docker pull works, because that's docker, not docker-compose.

The fix should be in docker-compose 1.9, but I did not test it: b64bd07

@jkinkead
Copy link

Ahh. It looked like it was slated for 1.8.1. Thanks!

@nkovacs
Copy link
Author

nkovacs commented Dec 16, 2016

Actually, it should be in 1.8.1 too: e216a31

@jkinkead
Copy link

Hmm. I'll open a separate issue, then?

@shin-
Copy link

shin- commented Dec 16, 2016

@jkinkead I think your issue is #4171, which will be fixed in 1.10.

ndeloof pushed a commit to ndeloof/compose that referenced this issue Jan 30, 2023
ndeloof pushed a commit to ndeloof/compose that referenced this issue Jan 30, 2023
ndeloof pushed a commit to ndeloof/compose that referenced this issue Jan 31, 2023
ndeloof pushed a commit to ndeloof/compose that referenced this issue Feb 1, 2023
ndeloof pushed a commit that referenced this issue Feb 2, 2023
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

6 participants