If we get the following error message:
Error saving credentials: error storing credentials — err: exec: “docker-credential-desktop.exe”: executable file not found in $PATH, out: ``
It could be solved by:
sudo ln -s /mnt/c/Program\ Files/Docker/Docker/resources/bin/docker-credential-desktop.exe /usr/bin/docker-credential-desktop.exe