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

前端 未结 19 1352
北海茫月
北海茫月 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:33

    For me I had this issue when I first installed Docker and ran

    docker run hello-world
    

    I got an authentication required error when I ran

    curl https://registry-1.docker.io/v2/ && echo Works
    

    All I needed to do was to restart my MacOS and then run the command again, it just started pulling the image and i got the message

    Hello from Docker!
    This message shows that your installation appears to be working correctly.
    
    0 讨论(0)
提交回复
热议问题