Ubuntu – Docker unable login to Docker hub.

root@docker:~# docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: username
Error saving credentials: error storing credentials - err: exit status 1, out: Failed to execute child process “dbus-launch” (No such file or directory)

To solve above problem, remove golang-docker-credential-helpers package by this command:

apt-get remove --purge golang-docker-credential-helpers

Leave a Reply

Your email address will not be published. Required fields are marked *