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

Credential helpers and Docker Swarm? #186

Open
thnk2wn opened this issue Sep 11, 2020 · 1 comment
Open

Credential helpers and Docker Swarm? #186

thnk2wn opened this issue Sep 11, 2020 · 1 comment

Comments

@thnk2wn
Copy link

thnk2wn commented Sep 11, 2020

Should these credential helpers work in a Swarm? I'm using docker-credential-pass and I can see it working okay on the Swarm manager. But when I execute docker stack deploy --with-registry-auth the nodes don't seem to receive credentials correctly anymore (with or without same cred helper on worker nodes).

I'm reviewing moby/moby#31063 but can't seem to find docs on this behavior.

@thnk2wn
Copy link
Author

thnk2wn commented Sep 14, 2020

I figured out the issue. When running pass insert docker-credential-helpers/docker-pass-initialized-check I had to leave the passphrase empty. Otherwise it never worked with the swarm (never could find image). See also #102 (comment). I'm not sure if this is intended behavior or not but regardless, could use some documentation around all this.

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