I'm trying to create a Docker image on a Mac computer. The command fails with the following error. I'm on Docker Desktop version 2.2.05.
Cannot run program "docker-credential-desktop": error=2, No such file or directory
I've read on some forums that including "credsStore": "osxkeychain" or "credsStore": "desktop" in ~/.docker/config.json. fixes the problem but I'm not able to find this file.
Has anybody faced this issue before? Any inputs would be appreciated.
When you log in, the command stores credentials in $HOME/. docker/config. json on Linux or %USERPROFILE%/. docker/config.
UPDATE 2022-06-28: I'm still using this setup. Works amazingly.
Docker Desktop works with your choice of development tools and languages and gives you access to a vast library of certified images and templates in Docker Hub. This enables development teams to extend their environment to rapidly auto-build, continuously integrate, and collaborate using a secure repository.
If you ever change your Windows password, you'll want to head over to your Docker for Windows settings, shared drives, then click “Reset Credentials” under your shared drives.
If you are trying to use with Spring Boot - fabric8 plugin and on mac machine do the following :
In ~/.docker/config.json change credsStore to credStore
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With