docker 在远程ssh登陆时报错
docker login www.xxx.com
输入用户名:

输入密码:

出现如下错误:

Error saving credentials: error storing credentials - err: exit status
1, out: error getting credentials - err: exit status 1, out: keychain cannot be accessed because the current session does not
allow user interaction. The keychain may be locked; unlock it by
running “security -v unlock-keychain
~/Library/Keychains/login.keychain-db” and try again``

解决方案:

输入

security -v unlock-keychain ~/Library/Keychains/login.keychain-db

输入密码就可以使用了

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐