docker-credential-helpers
docker-credential-helpers copied to clipboard
"pass": executable file not found in $PATH:
- debian 11.7
- Docker version 24.0.4, build 3713ee1
- docker-credential-pass (github.com/docker/docker-credential-helpers) v0.7.0
my docker config look like this
cat ~/.docker/config.json
{
"credsStore": "pass",
"auths": {}
}
docker-credential-pass exists in following directories:
- /sbin
- /bin
- /usr/bin
- /usr/local/bin
dockerd /proc/N/environ is
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
docker login error
Error saving credentials: error storing credentials - err: exit status 1, out: `pass not initialized: exec: "pass": executable file not found in $PATH:`
same happened to me.
using centos 7 which is without pass package actually
Also using Debian (on WSL2):
I found that the 'executable file not found in $PATH' message also appears, when the executable is not yet executable.
I.e. you could try sudo chmod +x docker-credential-pass and see, if that resolves the issue.