exec: "docker-credential-desktop": executable file not found in $PATH, out: ``

27-05-2025

Laravel

Open terminal

vim ~/.docker/config.json

 

{
        "auths": {},
        "credsStore": "desktop",
        "currentContext": "desktop-linux",
        "plugins": {
                "debug": {
                        "hooks": "exec"
                },
                "scout": {
                        "hooks": "pull,buildx build"
                }
        },
        "features": {
                "hooks": "true"
        }
}


using vim type "i" for edit

change `credsStore` to `credStore` remove "s"

type "esc" for exit editing
and type ":wq" for save

result 

{
        "auths": {},
        "credStore": "desktop",
        "currentContext": "desktop-linux",
        "plugins": {
                "debug": {
                        "hooks": "exec"
                },
                "scout": {
                        "hooks": "pull,buildx build"
                }
        },
        "features": {
                "hooks": "true"
        }
}