Skip to content

docker-credential-desktop executable file not found in path

What

I was trying to pull an image from ghcr after authenticating podman to ghcr and got the below error

error: getting auth config for "ghrc.io/": getting auth config: error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out:

Solution

Edit ~/.docker/config.json

Make note that we're changing it from credsStore by removing the additional s

{
  "stackOrchestrator" : "swarm",
  "experimental" : "disabled",
-  "credsStore" : "desktop"
+  "credStore" : "desktop"
}

Want to make this site better? Open a PR or help fund hosting costs