-
Notifications
You must be signed in to change notification settings - Fork 165
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
"docker-credential-pass": executable file not found in $PATH #182
Comments
Same here with upstream debian buster package.
My {
"credsStore": "pass"
} $ docker login registry.example.com
Error saving credentials: error storing credentials - err: exit status 1, out: `pass not initialized: exec: "pass": executable file not found in $PATH:` Also tried: {
"credsStore": "docker-credential-pass"
} $ docker login registry.example.com
Error saving credentials: error storing credentials - err: exec: "docker-credential-docker-credential-pass": executable file not found in $PATH, out: `` 😐 |
Looks like you was right. I just moved |
What does this mean for us that don't use docker-credential-pass? I mean, what is the workaround when
yields
|
or you can remove it.
|
looks like this was resolved |
When using this "solution", I still get the warning: So this is not resolved |
# Install "pass" for Linux https://www.passwordstore.org/
sudo apt install pass
# Generate a pub/secret key
gpg --full-generate-key
# Init the pass store
pass init "<KEYID_GENERATED_BY_GPG>"
docker login |
Apologies, this may be the wrong place for this, I'm just not sure where to start as it could be an issue with the credential helper, Docker, the snap or the Ubuntu setup.
I'm running Ubuntu 18.04 with Docker installed via snap, Docker is version 19.03.11.
I'm trying to get
docker login
to work withpass
.pass
works fine with my physical key on its own.My Docker config file in ~/snap/docker/current/.docker/config.json looks like this:
I've installed
docker-credential-pass
in/usr/bin
and it's version 0.6.3.However, when I run
docker login
, after entering my credentials, I always get this error:docker-credential-pass
is in the path, and is found if I run the command directly and if I typewhich docker-credential-pass
. I've even tried putting it in a folder within my home folder which is in the path, in case that helps (I know Docker snap has some restrictions about where on the file system it can access). However, I'm still left withdocker login
failing to finddocker-credential-pass
.Any ideas?
The text was updated successfully, but these errors were encountered: