Use Daocloud mirroring acceleration under Docker (based on CENTOS6)

Source: Internet
Author: User

The Docker accelerator does not require any extra action when it is used. Just like this. Download the official Ubuntu image


Actual operation (add Mirror source):
Add two commands under/etc/sysconfig/docker

other_args= "--registry-mirror=http://74ecfe5d.m.daocloud.io" options= '--registry-mirror=http://74ecfe5d.m.daocloud.io '

Restart the Docker service for the configuration to take effect:

[Email protected] ~]#/etc/init.d/docker restartstopping docker: [OK]starti ng Docker: [OK][[email protected] ~]# echo $?0


Test to find an Ubuntu image and download a pull image:

[[email protected] ~]# Docker search Ubuntu

NAME DESCRIPTION STARS Official automated
Ubuntu Ubuntu is a debian-based Linux operating s ... 3234 [OK]
Ubuntu-upstart Upstart is a event-based replacement for ... [OK]
Torusware/speedus-ubuntu always updated official Ubuntu Docker imag ... [OK]
Ubuntu-debootstrap debootstrap--variant=minbase--components ... [OK]
Tleyden5iwx/ubuntu-cuda ubuntu 14.04 with Cuda drivers pre-installed [OK]
Rastasheep/ubuntu-sshd dockerized SSH Service, built on top of ... [OK]
Nickistre/ubuntu-lamp-wordpress lamp on Ubuntu with WP-CLI installed 4 [OK]
Nuagebec/ubuntu simple always updated Ubuntu Docker images ... 4 [OK]
Nimmis/ubuntu This is a docker images different LTS vers ... 3 [OK]
Maxexcloo/ubuntu Docker base image built on Ubuntu with Sup ... 2 [OK]
Nickistre/ubuntu-lamp lamp Server on Ubuntu 2 [OK]
Densuke/ubuntu-jp-remix Ubuntu linuxの Japanese Remix Flavor です2 [OK]
Sassmann/ubuntu-steam steam based on Ubuntu 1 [OK]
Seetheprogress/ubuntu Ubuntu image provided by seetheprogress us ... 1 [OK]
Darksheer/ubuntu Base Ubuntu Image--Updated hourly 1 [OK]
Teamrock/ubuntu Teamrock ' s Ubuntu image configured with AW ... 0 [OK]
Konstruktoid/ubuntu Ubuntu base Image 0 [OK]
Webhippie/ubuntu Docker Images for Ubuntu 0 [OK]
Esycat/ubuntu ubuntu LTS 0 [OK]
Rallias/ubuntu Ubuntu with the needful 0 [OK]
Lynxtp/ubuntu Https://github.com/lynxtp/docker-ubuntu 0 [OK]
Avatao/ubuntu Ubuntu for challenges 0 [OK]
Ubuntucore/jenkins-ubuntu Jenkins image based on Ubuntu 0 [OK]
Zoni/ubuntu 0 [OK]
Jianhuiz/ubuntu-docker Ubuntu images that runs in Nova-docker 0 [OK]


[[email protected] ~]# Docker pull Ubuntu

Pulling repository Ubuntu
C29e52d44f69:download Complete
5549154b6b00:download Complete
Dbcf09c742a7:download Complete
40964da1bf47:download Complete
status:downloaded newer image for Ubuntu:latest


To view the image information:

[[email protected] ~]# docker imagesrepository                    TAG                  IMAGE ID             CREATED              VIRTUAL SIZEubuntu                        latest               c29e52d44f69         3 days ago          187.9  mbwordpress                     latest              62a9acf5fc2a         9 days ago           517.3 mbnginx                         latest               bbb75b846e7b        9 days  ago          134.5 MBredis                          latest               34ca6ac180ad        3 weeks ago          151.2 mbmongo                         latest               ad74160b3443        3 weeks  ago         317.4 MBdaocloud.io/library/python    latest               a2db1214d015        3 weeks ago          689.1 MBdebian                        latest               5eb1402f0414         3 weeks ago         125.1 MBcentos                        latest               60e65a8e4030         8 weeks ago         196.6  MBjoedval/stress                latest              7eb627cb08a2         11 weeks ago         214.9 mblemonbar/centos6-ssh         latest               b78c71c001db        &nBsp;18 months ago       296.9 mb 




This article is from the "Frozen vs watermelon" blog, so be sure to keep this source http://molewan.blog.51cto.com/287340/1743799

Use Daocloud mirroring acceleration under Docker (based on CENTOS6)

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.