阿里云服务器docker login报错

描述

阿里云服务器上登录habor仓库失败,正常输入用户名密码报错。

错误内容

Error saving credentials: error storing credentials - err: exit status 1, out: Error spawning command line “dbus-launch --autolaunch=20200220105204732752626726542709 --binary-syntax --close-stderr”: Child process exited with code 1

Error saving credentials: error storing credentials - err: exit status 1, out: 
`Error spawning command line “dbus-launch --autolaunch=20200220105204732752626726542709 --binary-syntax --close-stderr”: Child process exited with code 1`

解决方案

执行下面命令

sudo apt install gnupg2 pass

再次登录
Login Succeeded

猜你喜欢

转载自blog.csdn.net/tianyouououou/article/details/105484209