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

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

    I had the following entries in my /etc/hosts file:

    34.228.211.243  registry-1.docker.io
    34.205.88.205   auth.docker.io
    104.18.121.25   production.cloudflare.docker.com
    

    Just by commenting them out, I fixed the problem.

提交回复
热议问题