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

"pass": executable file not found in $PATH:

Open chain710 opened this issue 2 years ago • 5 comments

  • 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:`

chain710 avatar Jul 08 '23 06:07 chain710

same happened to me.

using centos 7 which is without pass package actually

yaohwu avatar Feb 05 '24 08:02 yaohwu

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.

erich-wittenbeck avatar Feb 18 '24 17:02 erich-wittenbeck