Attempting with a fresh install of Docker to docker-compose up --build
a project but getting the error: error getting credentials - err: docker-credential-desktop resolves to executable in current directory (./docker-credential-desktop), out:
Docker compose is installed:
% docker-compose --version
Docker Compose version v2.18.1
I’ve seen various things around the net about the json config being incorrectly formatted, e.g. credsStore vs credStore:
{
"credsStore": "Desktop",
"auths": {},
"credHelpers": {
"https://index.docker.io/v1/": "desktop"
},
"currentContext": "desktop-linux"
}
Modifying that line, or removing it entirely makes no difference.
I have also seen recommendations to make sure I’m signed into desktop. I am signed in, and the account is verified.
Any ideas?
Currently:
Mac v11.6.1
Docker Desktop v4.20.1
Docker Compose v2.18.1