Skip to content

Unable to pull private images when using credentials helper #3622

Closed

Description

@nkovacs

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.

Activity

  1. nkovacs commented on Jun 21, 2016

    @nkovacs
    Author

    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

  2. EugenMayer commented on Jun 30, 2016

    @EugenMayer

    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

  3. grosskur commented on Aug 12, 2016

    @grosskur

    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.

  4. EugenMayer commented on Aug 12, 2016

    @EugenMayer

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

  5. added this to the 1.8.1 milestone on Aug 30, 2016
  6. self-assigned this
    on Aug 30, 2016
  7. trevoro commented on Sep 12, 2016

    @trevoro

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

  8. shin- commented on Sep 12, 2016

    @shin-

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

  9. trevoro commented on Sep 14, 2016

    @trevoro

    👌

    On Tuesday, 13 September 2016, Daniel Nephin [email protected]
    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
    .

  10. jkinkead commented on Dec 16, 2016

    @jkinkead

    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?

  11. jkinkead commented on Dec 16, 2016

    @jkinkead

    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.

  12. nkovacs commented on Dec 16, 2016

    @nkovacs
    Author

    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

  13. jkinkead commented on Dec 16, 2016

    @jkinkead

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

  14. nkovacs commented on Dec 16, 2016

    @nkovacs
    Author

    Actually, it should be in 1.8.1 too: e216a31

  15. jkinkead commented on Dec 16, 2016

    @jkinkead

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

  16. shin- commented on Dec 16, 2016

    @shin-

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions