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?