Docker Community Forums

Share and learn in the Docker community.

Pac proxy issue with connecting docker hub while in corporate network

dockerhub

(Akhilsambasivan) #1

Hello,

I’m trying to figure out how I will be able to connect to docker hub while being under the PAC proxy. I tried the options like enabling the proxy like:

[Service]
Environment="HTTP_PROXY=http://

and even setting the nameserver to 8.8.8.8 / 8.8.4.4 but it doesn’t help me to establish the connection. I’m behind the corporate proxy setup and I’m able to connect to docker hub when I’m connected directly.

Can someone please help with getting a solution for this.

The error which I’m getting after setting the proxy settings as explained in the docker documentation is :

While setting nameserver as 8.8.8.8—>>

Error response from daemon: Get https: // index.docker .io/v1/search?q=ghost&n=25: proxyconnect tcp: dial tcp: lookup exol.proxy.ge.com on 8.8.8.8:53: read udp 10.0.2.15:51310->8.8.8.8:53: i/o timeout

While using the automatically assigned name server:
Error response from daemon: Get https :// index.docker.io/v1/search?q=ubuntu&n=25: Service Unavailable