I am executing the next command:
docker login
And the result that I get is:
Error saving credentials: error storing credentials - err: exit status 1, out:
`Cannot autolaunch D-Bus without X11 $DISPLAY`
I am using an instance in Oracle Cloud that is:
Canonical-Ubuntu-16.04-2018.06.18-0
I tried fix it tipping the next command:
sudo apt-get install xorg openbox
Any idea about what is happening here??
When you log in, the command stores credentials in $HOME/.docker/config.json on Linux or %USERPROFILE%/.docker/config.json on Windows, via the procedure described below.
In Jenkins you have to add a new credential with your Docker Hub account details. Go to Credentials → Global → Add credentials and fill out the form with your username and password.
This tip works for me (Ubuntu 18.04):
sudo apt update
sudo apt -V install gnupg2 pass
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With