docker: Error response from daemon: Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: unauthorized: incorrect username or password.
Expected behavior
Actual behavior
Information
- Full output of the diagnostics from "Diagnose & Feedback" in the menu
- A reproducible case if this is a bug, Dockerfiles FTW
- Page URL if this is a docs issue or the name of a man page
Steps to reproduce the behavior
- ...
- ...
you should fill out the body of the question and not just copy/paste in a template.
but I had a similar problem.. i'm not expert but for me it was that I didn't have internet access. so I connected my wifi, then having done that, I did docker-machine restart. Another thing to do (since yours said incorrect username/password), is to check your username and password are correct, by trying to log into hub.docker.com so you know your user/pass is correct.
Try logging back in with the CLI via docker login
I've run into this issue before too. It happens because the docker client (on macOS at least) allows you to sign in with your email address and password. If you sign out and sign in with your Docker Username and password everything will work. So here's a better description of the issue
Platform/OS Version 17.12.0-ce-mac55(23011)
Description
When trying to pull images from the Docker registry docker: Error response from daemon: Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: unauthorized: incorrect username or password. This happens if you sign in to Docker using your email address instead of your username.
Steps to Reproduce
- Clean install, or reset preferences for Docker
- Sign in to Docker GUI using your email address and password
- In the terminal, pull an image from the Docker registry
Actual Results
docker: Error response from daemon: Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: unauthorized: incorrect username or password
Expected Results Either of these:
- The docker client should not allow you to sign in with your email address, only your username
- If the client allows you to sign in with your email address, it should still work
docker login from CLI, docker-compose again, then SUCCESS.
I had the same issue by login with email, fix it by logout and use the user name other than email to login.
log.0.txt log.txt DebugInfo-2018-05-29_14-53-46.txt
I have the same issue, but restarting and logging out and logging back in is same issue
Also note your username is fully lowercase.
my solution is not email, but username at login docker hub web
I have the same issue. I restarted docker and restarted my Mac and it's still show the same error when I run: docker run hello-world on my terminal.
I have a similar problem. I can log into the websites. I can log into the Docker for Mac application. I CANNOT sign in from CLI.
Same here on Windows 10:
>docker run hello-world
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: unauthorized: incorrect username or password.
See 'docker run --help'.
>docker --version
Docker version 18.03.1-ce, build 9ee9f40
The login is correct and works in GUI app. On the other hand, why it needs any login for public repos?
Workaround:
>docker logout
Removing login credentials for https://index.docker.io/v1/
same here on mac
➜ ~ docker --version
Docker version 18.03.1-ce, build 9ee9f40
Logging in using just a username (not full email) helped me. Quite an interesting behaviour ...
Logged in with username instead of email did the trick.
macOS High Sierra 10.13.5
docker --version Docker version 18.06.0-ce, build 0ffa825
- Run the following code in the CLI to confirm docker is installed:
docker version - Run the following and use the username you created (not the email) for your docker account as well as the password. If you don't have a docker account go to https://hub.docker.com/:
docker login
I have the same problem, You just need to use your username instead of the mailbox to log in, it's all right.
log out and sign in with the dockerID rather than email and it will work.
docker logout
docker login
use username not email
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
This issue occurs when you are logged into docker account. I simply Logged out and pulled the docker image 💯 Worked for mee