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

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

Open
chain710 opened this issue Jul 8, 2023 · 2 comments
Open

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

chain710 opened this issue Jul 8, 2023 · 2 comments

Comments

@chain710
Copy link

chain710 commented Jul 8, 2023

  • 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:`
@yaohwu
Copy link

yaohwu commented Feb 5, 2024

same happened to me.

using centos 7 which is without pass package actually

@erich-wittenbeck
Copy link

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.

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

3 participants