Docker error: error getting credentials

Aaaah! Today I faced a strange error message from docker. => ERROR [internal] load metadata for docker.io/library/python:3.8-slim-buster 0.6s ------ > [internal] load metadata for docker.io/library/python:3.8-slim-buster: ------ failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exec: "docker-credential-desktop.exe": executable file not found in $PATH, out: `` Thanks to Bertrand C for the solution. In ~/.docker/config.json change credsStore to credStore Source