1. When running the command: docker login, an error occurred: /usr/bin/docker-credential-desktop.exe: Invalid argument Error saving credentials: error storing credentials – err: exit status 1, out: “. See Figure 1.

Plaintext
wangqiang@DESKTOP-QLPK8QM:/mnt/e/wwwroot/xxx/object/startup$ docker login https://harbor-core.lfsz.xxx.top
/usr/bin/docker-credential-desktop.exe: Invalid argument
Username: wangqiang@app.com
Password:
/usr/bin/docker-credential-desktop.exe: Invalid argument
Error saving credentials: error storing credentials - err: exit status 1, out: ``
wangqiang@DESKTOP-QLPK8QM:/mnt/e/wwwroot/xxx/object/startup$
2. I decided to close the current window, reopen Ubuntu, and run the command again; the login succeeded automatically. See Figure 2.

Plaintext
wangqiang@DESKTOP-QLPK8QM:/mnt/e/wwwroot/xxx$ docker login https://harbor-core.lfsz.xxx.top
Authenticating with existing credentials...
Login Succeeded

