ubuntu docker login Error saving credentials: error storing credentials - err: exit status 1, out:
Error saving credentials: error storing credentials - err: exit status 1, out: Error calling StartServiceByName for org.freedesktop.secrets: Timeout was reached问题描述:ubuntu18.10 登录 阿里云仓库时, 在密码输入后,停好久..
·
Error saving credentials: error storing credentials - err: exit status 1, out: Error calling StartServiceByName for org.freedesktop.secrets: Timeout was reached
问题描述:
ubuntu18.10 登录 阿里云仓库时, 在密码输入后,停好久,会提示上边的错误:
正常情况应该显示 Login Succeeded
而且会在~/.docker/config.json 中保持数据,
登录完成后就可以在$HOME/.docker/config.json文件中找到你的相关认证信息,例如:
{
"auths": {
"https://index.docker.io/v1/": {
"auth": "aJKvamllasdffzp6aGoxJKL2RTY="
},
"registry.csdn.com": {
"auth": "aJKvamllasdffW86WmhqBNMyMzE2"
}
},
"HttpHeaders": {
"User-Agent": "Docker-Client/18.06.1-ce (linux)" }
}
}
答案:
由于这是目前选择的答案,我认为人们应首先尝试@Anish Varghese解决方案,因为它似乎是最简单的。您只需要安装gnupg2并传递包:
我是执行了下边的命令后,安装后,再登录直接成功
sudo apt install gnupg2 pass
在这里找到的答案:https://stackoverflow.com/questions/50151833/cannot-login-to-docker-account
更多推荐
已为社区贡献4条内容
所有评论(0)