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

执行命令:docker login 时,报错:/usr/bin/docker-credential-desktop.exe: Invalid argument Error saving credentials: error storing credentials - err: exit status 1, out: ``。

Written by

in

, ,

1. When executing the command: docker login, an error is reported: /usr/bin/docker-credential-desktop.exe: Invalid argument error saving credentials: Error storing credentials – err: exit status 1, out: “. as shown in Figure 1

执行命令:docker login 时,报错:/usr/bin/docker-credential-desktop.exe: Invalid argument Error saving credentials: error storing credentials - err: exit status 1, out: ``。
Figure 1
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. Decide to close the current window, reopen Ubuntu, execute the command again, and the automatic login is successful. as shown in Figure 2

决定关闭当前窗口,重新打开 Ubuntu,再次执行命令,自动登录成功。
Decided to close the current window, reopen Ubuntu, execute the command again, and the automatic login is successful.
wangqiang@desktop-qlpk8qm:/mnt/e/wwwroot/xxx$ docker login https://harbor-core.lfsz.xxx.top
Authenticating with existing credentials...
Login successfully

 

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.