码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu docker login Error saving credentials: error storing credentials - err: exit status 1, out:

时间:2020-11-07 17:24:35      阅读:21      评论:0      收藏:0      [点我收藏+]

标签:epo   直接   span   ase   edit   atom   can   inux   png   

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 登录 阿里云仓库时, 在密码输入后,停好久,会提示上边的错误:
正常情况应该显示 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)" } 
			}
	}

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
 答案:
 由于这是目前选择的答案,我认为人们应首先尝试@Anish Varghese解决方案,因为它似乎是最简单的。您只需要安装gnupg2并传递包:
  • 1
  • 2

我是执行了下边的命令后,安装后,再登录直接成功

sudo apt install gnupg2 pass
  • 1

在这里找到的答案:https://stackoverflow.com/questions/50151833/cannot-login-to-docker-account

ubuntu docker login Error saving credentials: error storing credentials - err: exit status 1, out:

标签:epo   直接   span   ase   edit   atom   can   inux   png   

原文地址:https://www.cnblogs.com/mouseleo/p/13940000.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!