在Ubuntu 18.04系统中,在安装有docker-compose时,将无法正常登录。
详情如下:
docker login
Password:
Error saving credentials: error storing credentials - err: exit status 1, out: Cannot autolaunch D-Bus without X11 $DISPLAY
解决方法,移除掉docker-compose:
sudo apt-get autoremove --purge docker-compose
再执行:
docker login
Password:
Login Succeeded