docker: Error response from daemon: Get https://registry-1.docker.io/v2/: Service Unavailable. IN DOCKER , MAC

前端 未结 19 1443
北海茫月
北海茫月 2021-02-01 02:53

I am having this issue in my Mac system 10.11.6

system3:postgres saurabh-gupta2$ docker build -t postgres .
Sending build context to Docker daemon  38.91kB
Step          


        
19条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-01 03:13

    Just to add, in case anyone else comes across this issue.

    On a Mac I had to logout and log back in.

    docker logout
    
    docker login 
    

    Then it prompts for username (NOTE: Not email) and password. (Need an account on https://hub.docker.com to pull images down)

    Then it worked for me.

提交回复
热议问题