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

Posted mouseleo

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu docker login Error saving credentials: error storing credentials - err: exit status 1, out:(示相关的知识,希望对你有一定的参考价值。

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:(示的主要内容,如果未能解决你的问题,请参考以下文章

Docker login harbor Error response from daemon: Get https

docker pull / docker login 报错 Error response from daemon: Get https://registry-1.docker.io/v2/: x509

docker pull / docker login 报错 Error response from daemon: Get https://registry-1.docker.io/v2/: x509

docker pull / docker login 报错 Error response from daemon: Get https://registry-1.docker.io/v2/: x509

Cannot login to Docker account

docker ubuntu swoole fatal error: openssl/ssl.h: No such file or directory