Celestial Network, you do not understand. My favorite red apricot has not been used recently. Fuck GFW.
Here, we use the Daocloud accelerator to open the URL
Https://dashboard.daocloud.io/mirror
Find a selection of operating manuals, Visual 2.0 version of the need to install what host monitoring program, not interested, directly on 1.0. Of course, click CentOS.
Configuration, Find CentOS6
The official script is provided, the direct copy runs
sudo sed-i "s|other_args=\" |other_args=\ "--registry-mirror=http://c877b440.m.daocloud.io |g"/etc/sysconfig/ Dockersudo sed-i "s| Options= ' | options= '--registry-mirror=http://c877b440.m.daocloud.io |g '/etc/sysconfig/dockersudo service docker restart
The script can be --registry-mirror added to your Docker configuration file /etc/sysconfig/docker .
[Email protected] ~]# Cat/etc/sysconfig/docker
See if the content is written in. If not, you can also use Vim to write the content in.
[Email protected] ~]# cat/etc/sysconfig/docker#/etc/sysconfig/docker## Other arguments to pass to the Docker Daemon Pro Cess# these'll be parsed by the SysV Initscript and appended# to the arguments list passed to docker-dother_args= "--reg Istry-mirror=http://c877b440.m.daocloud.io --insecure-registry http://dl.dockerpool.com:5000 "Docker_cert_ path=/etc/docker# resolves:rhbz#1176302 (Docker issue #407) docker_nowarn_kernel_version=1# location used for temporary Files, such as those created by# # Docker load and build operations. Default is/var/lib/docker/tmp# # Can Overriden by setting the following environment variable.# # DOCKER_TMPDIR=/VAR/TM P
OK, now download the mirror speed to the leverage. The task now is to immerse yourself in the open source world.
CentOS6 Installing the Daocloud accelerator