This discussion solved my error:
https://forums.docker.com/t/docker-credential-desktop-exe-executable-file-not-found-in-path-using-wsl2/100225
Delete the line with credsStore from ~/.docker/config.json.
This discussion solved my error:
https://forums.docker.com/t/docker-credential-desktop-exe-executable-file-not-found-in-path-using-wsl2/100225
Delete the line with credsStore from ~/.docker/config.json.