不能从nexus代理中拖出docker镜像
内联在8444被configuration为内部主机,而外部代理被configuration为7001。 我能够从8444拉图像,但不能从互联网上拉东西。 nexus在代理设置中指向https://registry-1.docker.io 。 有什么build议么?
$ docker pull x.com:8444/hello-world Using default tag: latest latest: Pulling from hello-world c04b14da8d14: Pull complete Digest: sha256:a18ed77532f6d6781500db650194e0f9396ba5f05f8b50d4046b294ae5f83aa4 Status: Downloaded newer image for x.com:8444/hello-world:latest $ docker pull x.com:7001/node Using default tag: latest Error response from daemon: unknown: unknown
(没有错误日志显示在此拉的连线)
我自己find了答案。 在configuration中,需要使用
“使用Docker Hub”
在Proxy-> Docker索引中。 我用“使用代理registry(上面指定)”不起作用。