Friday, October 20, 2017

Docker: Error: Unauthorized: incorrect username or password on mac OS

Getting the following error when I run anything... 


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

Here is how I solved it: 
  • Login into www.docker.com with my username and password
  • Note down the docker ID which is different than your loginID/email 
  • In Terminal now enter the command "docker login" it will ask you to enter your user and password
  • If the login is successfull you should get the following message: 

Password: 
Login Succeeded

Now you can run the commands and they should run fine. 

No comments:

Post a Comment