docker-credential-helpers icon indicating copy to clipboard operation
docker-credential-helpers copied to clipboard

Credential helpers and Docker Swarm?

Open thnk2wn opened this issue 5 years ago • 1 comments

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 https://github.com/moby/moby/issues/31063 but can't seem to find docs on this behavior.

thnk2wn avatar Sep 11 '20 13:09 thnk2wn

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 docker/docker-credential-helpers#102 (comment). I'm not sure if this is intended behavior or not but regardless, could use some documentation around all this.

thnk2wn avatar Sep 14 '20 13:09 thnk2wn