首页 » Docker » Docker login踩坑

Docker login踩坑

2019-07-11 Darius Docker

在Ubuntu18.04版本上

root@k8s-master1:~# docker login harbor.magedu.com
Username: admin
Password: 
Error saving credentials: error storing credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY`

经多方查找,发现是系统默认安装了golang-docker-credential-helpers,卸载以后就好了。

root@k8s-master1:~# apt purge golang-docker-credential-helpers

#docker login
root@k8s-master1:~# docker login harbor.magedu.com
Username: admin
Password: 
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
说点什么
好耶,沙发还空着ヾ(≧▽≦*)o
Loading...
Prev Post Next Post
已跳转到上次阅读的位置,从头阅读?