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

 Error:-

While building the image on the ubuntu image got the following error

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

"credsStore": "desktop",

Cause:-

The issue is caused because the config file inside the ~/.docker/config.json is using credsStore which should be credStore


Solution :-

Removing the extra s in the CredsStore in the file ~/.docker/config.json should solve the problem

From

"credsStore": "desktop",

To

"credStore": "desktop",


Comments

Popular posts from this blog

[Solved] Gitlab remote: ERROR: Your SSH key has expired.

[Resolved] groupVersion shouldn't be empty

[Solved] Fingerprint sha256 has already been taken