Docker-credential-desktop.exe executable file not found in $PATH using wsl2

I got hit by the same, but I am not using sudo anymore.