Error saving credentials: error storing credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: ``
See original GitHub issueRancher Desktop Version
0.7.0
Rancher Desktop K8s Version
1.21.6
What operating system are you using?
macOS
Operating System / Build Version
11.6.1
What CPU architecture are you using?
x64
Windows User Only
No response
Actual Behavior
> docker login registry.local
Username: user
Password:
Error saving credentials: error storing credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: ``
Steps to Reproduce
Delete any other Docker installs, install RD with DockerD option, activate /usr/local/bin/docker
symlink option. Try docker login
.
Result
Not able to login.
Expected Behavior
Should be able to use private registries.
Additional Information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
docs source about docker-credential-desktop #149 - GitHub
Error saving credentials : error storing credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out:.
Read more >"docker-credential-desktop.exe": executable file not found in ...
I got this error during docker build ...
Read more >Docker-credential-desktop.exe executable file not found in ...
The problem does not occur at all if I use Powershell. The exe is definitely in my PATH, and I can invoke it...
Read more >How to solve Docker 'docker-credential-desktop not installed ...
If you're getting the following error, I found the solution for it: dockerpycreds.errors.InitializationError: docker-credential-desktop not ...
Read more >More fun with Docker and Homebrew - authentication this time
Error saving credentials : error storing credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: ``.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
docker-credential-desktop
is part of Docker Desktop and obviously no longer available when you uninstall it.It is configured in
~/.docker/config.json
:When you delete the
credsStore
entry, the credentials will be stored directly inside this config file.Or you could install the docker credential helper with e.g.
brew
:and then change
desktop
toosxkeychain
(thedesktop
helper is not available outside Docker Desktop).Note that this is purely about encrypting credentials at rest (when you are not already logged into the system). If you already use drive encryption, it doesn’t really make much difference.
Adding a bit more info in this thread:
On macOS, after uninstalling Docker Desktop and removing the folder
~/Library/Application\ Support/Docker\ Desktop/
, I can also replicate the same issue (using docker-compose):A workaround that actually works for me, removing
credsStore
entry fromconfig.json
:Ref project: https://github.com/evertonlperes/sample-test-app Rancher Desktop
1.0.0-beta1
macOS Monterey 12.1