Docker Connection Timeout

At startup

sudo docker pull centos

it gives the connection time while it is working behind the proxy server, where the proxy server is configured with http_proxy and https_proxy. What is the reason besides the proxy server, although it seems a proxy problem. I checked LINK , but in vain, are there any other settings that I missed, please let me know.

2014/11/10 23:31:53 Get https://index.docker.io/v1/repositories/centos/images : dial tcp 162.242.195.84-00-0043: connection timeout

+5
source share
4 answers

If you are working with a proxy server,

  • add the following command or line to the /etc/default/docker file,

export http_proxy=<YOUR_PROXY>

  1. Restart the docker service and check

# service docker restart

+4
source

I got timeouts in Windows 10 Docker 17.03.0-ce-rc1

To fix this, I opened Settings / Network and then installed the DNS server 8.8.8.8

+3
source

That should work.

In Ubuntu, you can add HTTP_PROXY and HTTPS_PROXY to / etc / default / docker

0
source

So yes, what worked for me in the end sets up a proxy server as mentioned in other answers.

I went to the icon tray → Right-click on the docker on the window → Go to settings → set proxy as ip: port

Please view the screenshot as shown below. enter image description here

0
source

Source: https://habr.com/ru/post/1206614/


All Articles