debian安装docker后无法login的问题

背景:

由于centos即将停更,后续业务系统准备迁移至debian系统,由于之前所有业务系统全是centos系列产品,必须对debian进行相关测试,今天发现刚装完docker发现无法login登录。

问题现象:

docker login 登录时报错如下:

root@debian-no1:~# docker login --username=jiucool_** registry.cn-beijing.aliyuncs.com
Password:
** Message: 15:56:29.765: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Error saving credentials: error storing credentials - err: exit status 1, out: The name org.freedesktop.secrets was not provided by any .service files

系统环境:

  1. Debian 10.7 buster
  2. Docker版本:Docker version 20.10.0, build 7287ab3

解决办法:

sudo apt-get install gnupg2 pass -y

Leave a Reply


正在读取数据……