Error saving credentials -> X11 $DISPLAY

If you get on a Linux system the following error message after a successful docker login:

Error saving credentials: error storing credentials - err: exit status 1, out: Cannot autolaunch D-Bus without X11 $DISPLAY

Then you need to install gnupg2 and pass packages:

sudo apt install gnupg2 pass

Last updated

Was this helpful?