Docker at Windows 10 proxy propagation to containers not working

后端 未结 1 1212
攒了一身酷
攒了一身酷 2021-01-11 19:02

I am behind cooperate proxy and running docker on windows 10. I have setup the proxy on docker as per the documentation here.

I am able to pull images but

相关标签:
1条回答
  • 2021-01-11 19:40

    I had the same problem. Pulling images was working but provisioning a container was not working. In this case the solution was to provide Docker with a configuration file named ~/.docker/config.json with the following contents.

    {
     "proxies":
     {
       "default":
       {
         "httpProxy": "http://proxy.server....com:8080",
         "httpsProxy": "https://proxy.server.....com:8080"
       }
     }
    }
    

    I hope this will solve your problem.

    0 讨论(0)
提交回复
热议问题