使用命令docker login进行登录,输入用户名密码后报错:“the user name or passphrase you entered is not correct”,尝试过重装docker、重设密码均不奏效。
解决方法:
-
启动台-其他-钥匙串访问
-
右键“登录“锁定钥匙串,然后再解锁
-
重新登录docker,解决了!
没错, 就是这么迷。。。
至于原因,在github上有讨论,可能是Macos的问题。
https://github.com/aws/aws-cli/issues/3264