I.注册DaoCloud
网址:https://dashboard.daocloud.io/
I.进入加速器
I.执行命令并且重启
I.正常下载即可
[root@localhost ~]# curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://xxxxx.m.daocloud.io
Success.
You need to restart docker to take effect : sudo systemctl restart docker
[root@localhost ~]#
[root@localhost ~]# sudo systemctl restart docker
[root@localhost ~]# docker pull docker.io/consol/tomcat-7.0
Using default tag: latest
Trying to pull repository docker.io/consol/tomcat-7.0 ...
latest: Pulling from docker.io/consol/tomcat-7.0
e5ad7970bc69: Pull complete
a3ed95caeb02: Pull complete
d1bc08d19aa0: Pull complete
e4b877670a03: Pull complete
7fe52da169a9: Pull complete
dd8c3151a5a5: Pull complete
70eb33b1a032: Pull complete
878a118528b8: Pull complete
1c0747c147d5: Pull complete
0d0d0f226ce8: Pull complete
56357e7ea3fa: Pull complete
3c3554f7c62d: Pull complete
23de17079739: Pull complete
Digest: sha256:8256b5e8e01fc4f6c1913e1fd70dea95ae656400f70fb1c12157d0e89e1ccaf7
Status: Downloaded newer image for docker.io/consol/tomcat-7.0:latest