Docker configuration of domestic mirror sources does not work

refer to Docker Chinese official image acceleration with a domestic mirror source, but it has not worked. Using docker pull or visiting foreign warehouses

> docker info
......
Server Version: 17.04.0-ce
Kernel Version: 4.4.0-97-generic
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Registry Mirrors:
 https://registry.docker-cn.com/

> docker pull node

Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

not even direct pull:

> docker pull registry.docker-cn.com/library/ubuntu:16.04

Error response from daemon: Get https://registry.docker-cn.com/v1/_ping: dial tcp: lookup registry.docker-cn.com on 8.8.8.8:53: read udp 191.x.x.145:56600->8.8.8.8:53: i/o timeout

Why didn"t I use my mirror source? How to solve it?

Mar.01,2021

this is very crappy. Ali Yun has not maintained this image at all, and it is openly posted on the official website.

this image can never be used. It is recommended to directly use the docker image https://www.aliyun.com/produc. on Aliyun's cloud service (free, it can also be used locally after activation). Or China University of Science and Technology: https://mirrors.ustc.edu.cn/h.


at first I thought it could not be used, and then I found that the virtual machine was not connected to the network ^ _ ^ / p >


. I encountered the same problem. After a long time, sure enough, there was a problem with Aliyun's image. I re-installed a cenos7mini on the official website and installed docker so that I could successfully configure and use the domestic image. It was very smooth. I would rather climb over the wall than try to facilitate the use of domestic modified things.

in the future, I would rather climb over the wall than try to facilitate the use of domestic modified things

.
Menu