Tag: 代理连接

与不同代理urlnginx相同的位置

我们试图通过nginx反向代理获取连接,作为docker镜像的私有registry。 我们能够执行所有的操作,如拉,search和标记,但不能推送到连接registry。 下面是位置块下的nginxconfiguration。 location ~ ^/(v1|v2)/ { access_log /var/log/nginx/docker.log; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto "https"; proxy_pass http://server908.int.org.com:5555; proxy_read_timeout 90; } 我们能够search并拉出图像。 xxxx – admin [23/Jun/2017:14:31:20 +0800] "GET /v1/search?q=fedora&n=25 HTTP/1.1" 200 3733 "-" "docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.10.2.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.6 \x5C(linux\x5C))" xxxx – admin [23/Jun/2017:14:31:39 +0800] "GET /v2/fedora/apache/manifests/latest HTTP/1.1" 200 1362 […]

不能从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 (没有错误日志显示在此拉的连线)