docker login fails Cannot autolaunch D-Bus without X11

Bug #1794307 reported by fredbcode
64
This bug affects 13 people
Affects Status Importance Assigned to Milestone
docker-compose (Ubuntu)
Bionic
Confirmed
Undecided
Unassigned
golang-github-docker-docker-credential-helpers (Ubuntu)
Confirmed
Undecided
Unassigned
Bionic
Confirmed
Undecided
Unassigned

Bug Description

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

Revision history for this message
Calvin Hartwell (calvinh) wrote :

Hi @fredbcode,

I just replied to the issue on github: https://github.com/docker/compose/issues/6023#issuecomment-424434583

Cheers

tags: added: docker
Revision history for this message
Aidan Hunt (aidanh010) wrote :

I have confirmed that the latest Cosmic development release with this package version 0.6.1-1 appears to work correctly now. Was able to sign in to Docker fine on a headless EC2 server over SSH.

Revision history for this message
fredbcode (fredbcode) wrote :

Great,it can be fixed in 18.04 ?

Revision history for this message
nyet (nyetwurk) wrote :

As a side note, docker-compose should NOT require golang-github-docker-docker-credential-helpers, so at least it can be uninstalled without uninstalling docker-compose

Revision history for this message
nyet (nyetwurk) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in docker-compose (Ubuntu Bionic):
status: New → Confirmed
Changed in docker-compose (Ubuntu):
status: New → Confirmed
Changed in golang-github-docker-docker-credential-helpers (Ubuntu Bionic):
status: New → Confirmed
Changed in golang-github-docker-docker-credential-helpers (Ubuntu):
status: New → Confirmed
nyet (nyetwurk)
no longer affects: docker-compose (Ubuntu)
Revision history for this message
nyet (nyetwurk) wrote :

Can someone point me to the commit that fixes this

David Coronel (davecore)
tags: added: cpe-onsite
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.