比较新版本的docker命令行登录会出现以下错误:
Error saving credentials: error storing credentials - err: exit status 1, out: `The user name or passphrase you entered is not correct.`
在网上找了很久,总算找个一个能用的:以下为具体操作
1. 点开启动台,搜索 Keychain Access并点开, 或是点开 访达(findder) -> 应用程序(applications) -> 实用工具(utilities) ->钥匙串访问(Keychain Access)


2. 右键点击登录 -> 锁定钥匙串登录,再解锁钥匙串登录就可以了,注意解锁的时候需要输入mac登录密码

参考资料: https://www.microcenter.com/tech_center/article/6819/how-to-open-keychain-access-in-mac-os-x
解决Docker命令行登录出现的保存凭据错误问题。通过解锁Mac的钥匙串访问,可以修复因用户名或密码不正确导致的登录失败。
951

被折叠的 条评论
为什么被折叠?



