Hit an error today, solution is very stupid, so I had to blog it here.

Error

$ docker compose up
[+] Running 0/0
 ⠋ scriberr Pulling                                                                                                                                                                                                                           0.0s
error getting credentials - err: exec: "docker-credential-desktop.exe": executable file not found in $PATH, out: ``

In ~/.docker/config.json change credsStore to credStore

$ cat ~/.docker/config.json
{
  "credStore": "desktop.exe"
}

Source