我正在尝试registry image从码头拉动。
docker run -d -p 5000:5000 --restart=always --name registry registry:2
但它给出了如下错误:
docker: Error while pulling image: Get https://index.docker.io/v1/repositories/library/registry/images: dial tcp 52.73.159.23:443: getsockopt: no route to host.
我已经设置了代理,但它没有帮助。可能是什么问题呢?我在 Redhat linux 7 上运行。