Yum Docker domestic sources and domestic warehouse mirror 2018 Nian 05 Yue 29 Ri 00 : 06 : 40 nklinsirui number 6295 read more Category column: Docker Copyright: This article is a blogger original article, follow the CC 4.0 by- SA copyright agreement, reproduced attach the original source link and this statement. This link: HTTPS: // blog.csdn.net/nklinsirui/article/details/80490537 article directories use Ali cloud Docker Yum source using mirroring Ali cloud accelerator add another warehouse mirroring use Ali cloud Docker Yum source sudo yum install -y yum- Device-Mapper persistent--utils the Data lvm2 sudo yum -config-Manager --add-repo HTTP: // mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo sudo yum makecache the FAST sudo yumdocker- install -y ce Reference document: HTTPS: // yq.aliyun.com/articles/110806 use Ali cloud images accelerator landing Ali cloud console: HTTPS: // cr.console.aliyun.com click on "Mirror accelerator" menu press the page prompts. Example: the sudo mkdir -p / etc / Docker the sudo TEE /etc/docker/daemon.json << - ' the EOF ' { " Registry-Mirrors " : [ " https://xxx.mirror.aliyuncs.com " ] } the EOF systemctl daemon sudo - reload sudo systemctl restart Docker add another warehouse mirroring and Ali cloud images using similar accelerator, it is to modify the basic steps/ etc / Docker / daemon.json to add warehouse mirror. Example: { " Registry-Mirrors " : [ " https://xxx.mirror.aliyuncs.com " ], " in the insecure-Registries " : [ " 192.168.37.170 " ] } and then run the following command allows docker reload daemon.json and restart docker. daemon systemctl - reload systemctl restart Docker run docker info, turn to the last view Insecure Registries and Registry Mirrors. Reference document: HTTPS: // blog.csdn.net/zzy1078689276/article/details/77371782