简体   繁体   中英

Unathorized: incorrect username or password

I have cloned Microsoft eShopOnContainers repo and tried to run :- eShopOnContainers.ServicesAndWebApps but i have been getting following error while tried to run docker compose: -

 3>Pulling nosql.data (mongo:)... 
 3>Get https://registry-1.docker.io/v2/library/mongo/manifests/latest: unauthorized: incorrect username or password

Docker Desktop is running and i have checked docker-compose-override.yml file in the project file but did not find any clue about the username and password option to either change or replace etc.. docker could not pull the image from docker hub i guess but failed due to unauthorized. How to set permission or authorization in the docker hub or else in the docker compose file. Any help is appreciated..

I got it fixed, this is outrageous how come docker desktop login fine with xzy@example.com, however when you pull images from docker hub it does not seem to recognize user already signed in through desktop docker. I had to sign-out from desktop docker and sign in with user id from CLI which is being shown in the docker hub but not the one which is being picked by docker desktop itself with email address. I don't get it...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM