Docker Community Forums

Share and learn in the Docker community.

[Resolved] Can log into Docker Cloud but not Docker CLI

I am logged into Docker Cloud (and Docker Hub) BUT
Using the same username and password at the CLI returns

Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password

Stable Docker for Mac is running OK.
There are no DOCKER_* environment variables set (some months ago they were set to refer to Bluemix Containers)

I am baffled by this seemingly simple issue

I resolved this issue by:

1.Deleting Docker for Mac and all docker-related Preferences and Application support files
2. ensuring I log in using the username displayed on my docker hub account page

(although 2. above did not resolve the issue itself without 1. above)

1 Like

This worked for me as well

Very Strange and irritating error !