How To Fix "Error saving credentials: error string credentials" after Installing Docker on MAC

Aditya DarmawanAditya Darmawan
1 min read

When you run Docker (usually after install colima) and run an image you may get this error,

Error saving credentials: error storing credentials - err: exec: "docker-credential-osxkeychain": executable file not found in $PATH, out: ``

It means docker cannot save your credential because of miss configuration. Here is workaround to fix it.

Open config.json file in directory /Users/<your_username>/.docker/config.json

Replace a key credsStore into credStore (remove first S letter)

And then try again :)

0
Subscribe to my newsletter

Read articles from Aditya Darmawan directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Aditya Darmawan
Aditya Darmawan