Solve Linux docker pull error get https://registry-1.docker.io/v2/ : Net / http: TLS handshake timeout

Solution:

Step 1: through dig @ 114.114.114.114 registry-1 docker.io Find available IP address

The IP address is not fixed and may change, so you need to try several more times (several IP)

Step 2: modify/etc/hosts docker.io The relevant domain name is resolved to other available IP addresses

Step 3: after saving the configuration file, try again many times to download the image successfully

Step 4: verify success

Reprinted: https://www.cnblogs.com/python-wen/p/11224555.html

Read More: