Public bug reported: As reported here https://github.com/docker/compose/issues/6023 docker login is broken in Ubuntu 18.04 without X11
docker login error getting credentials - err: exit status 1, out: Cannot autolaunch D-Bus without X11 $DISPLAY This error appears on a fresh Ubuntu Server 18.04 install Temporarily uninstalling golang-github-docker-docker-credential-helpers package allowed me to run docker login to authenticate with my docker registry. After that reinstall golang-github-docker-docker-credential-helpers, docker-compose, etc is needed It is just hurtful to works with Ubuntu/Docker with private registry ... Ubuntu 18.04.1 LTS ** Affects: golang-github-docker-docker-credential-helpers (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1794307 Title: docker login fails Cannot autolaunch D-Bus without X11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-docker-docker-credential-helpers/+bug/1794307/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs