CentOS6 Installing the Daocloud accelerator

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.