我在我的Mac系统10.11.6中遇到这个问题
system3:postgres saurabh-gupta2$ docker build -t postgres .
Sending build context to Docker daemon 38.91kB
Step 1/51 : FROM registry.access.redhat.com/rhel7/rhel
Get https://registry.access.redhat.com/v2/: Service Unavailable
docker run -t apline
Unable to find image 'apline:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: Service Unavailable.
See 'docker run --help'.
我一直在寻找一个解决方案,说要设置代理,但我已经为wifi设置了代理。
https://docs.docker.com/docker-for-mac/networking/#httphttps-proxy-support
尽管如此,它还是不起作用。
我也为docker设置了代理。它不起作用。
首选->代理
Docker版本17.12 ce
我还想知道如果代理是问题所在,那么我如何检查它是否已设置,解决此问题的方法是什么?
发布于 2020-03-24 17:38:46
这里提供了令人惊叹的答案,但如果你是新手,并且没有意识到完全错误,那么你可能会在错误消息的末尾看到net/http: TLS handshake timeout.
消息,这意味着你的互联网连接速度很慢。所以只能是那个问题了。图画
https://stackoverflow.com/questions/49387263
复制相似问题