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
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.