[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] calico/node is not ready: BIRD is not ready: BGP not established (Calico 3.6 / k8s 1.14.1)

[Resolved] groupVersion shouldn't be empty

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