Error unauthorized: incorrect username or password
Step 1/4 : FROM bitnami/minideb:stretch Get https://registry-1.docker.io/v2/bitnami/minideb/manifests/stretch: unauthorized: incorrect username or password
Client:
Version: 17.06.0-ce
API version: 1.30
Go version: go1.8.3
Git commit: 02c1d87
Built: Fri Jun 23 21:31:53 2017
OS/Arch: darwin/amd64
Server:
Version: 17.06.0-ce
API version: 1.30 (minimum version 1.12)
Go version: go1.8.3
Git commit: 02c1d87
Built: Fri Jun 23 21:51:55 2017
OS/Arch: linux/amd64
Experimental: true
and also I can't login with my credentials using:
docker login
Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password
But I can login to https://hub.docker.com with the same credentials.
Try first:
$ docker logout
and then pull again. As it is public repo you shouldn't need to login
@edouardr I've already tried that without any success, I get the same error.
I've been trying the to follow the tutorial and it's broken...
when I run docker build -t friendlyhello . I get
Get https://registry-1.docker.io/v2/library/python/manifests/2.7-slim: unauthorized: incorrect username or password
When I skip ahead in the tutorial and attempt to login with docker login I get a new wonderful error...
Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password
+1
$docker -v
Docker version 17.06.2-ce, build cec0b72
$ docker build .
Sending build context to Docker daemon 8.192kB
Step 1/9 : FROM node:8.4.0
Get https://registry-1.docker.io/v2/library/node/manifests/8.4.0: unauthorized: incorrect username or password
+1
see @thaJeztah 's comment, he is right, should login with username, not email
Be aware that logging in on the commandline requires your username, not email address
Also getting this, trying to download the official mysql container. Login/logout fixes it only once. The next attempt to download an image fails again.
I had the same problem.. Login failed consistently using cli 'docker login [email protected]' The problem, as a couple people have pointed out is that you should use 'docker login user' without the @domain.com.
I was banging my head on desk over this for several minutes, after repeatedly verifying that the typed credentials worked fine on hub.docker.com
In CLI, your Docker ID is your Docker username, not email. You can login to Docker site with your email and pass, and then from top-right corner, you can get docker ID/Username. Then in CLI, Type the following command:
docker login
Now login with Docker ID and Password
As @edouardr said, you have to log out from your current docker credentials and log in again with the ID and password. After doing that you will be able to pull the images on your device.
I also got the error here: https://hub.docker.com/r/nexylan/php-dev/builds/bywbpmp7868yeuobdlbnps7/
annoying
I also had the same problem, on hum.docker you can login with your email, but, on Docker CLI, you should avoid the @domain.com and use just your user if you want to login.
I was running this 'docker pull mysql' and got this error :
Error response from daemon: Get https://registry-1.docker.io/v2/library/mysql/manifests/latest: unauthorized: incorrect username or password
I solved it just running this command "docker logout"
As @DiveInto and @thaJeztah said, login with username instead of email worked for me! Thank you guys
the username is not the same as the first part of your email
like email: [email protected] username: idelfonso123❌ it actually was: idelfonso✅, go to hub.docker.com and see the top right-hand corner
Same solution if you are using Docker for Mac and you are logging in via the Docker App in the menubar.
check you login id and password again, I came across the same issue, it turned out to be the wrong password.
I was facing the same issue where I was able to successfully login to website docker.hub.com, but docker cli login failed with invalid credentials, I found my dockerid/username and when I logged though this in the cli, it worked for me