2. Configure the docker image source of alicloud

Time:2019-10-20

Warehouse image can be understood as a good environment for others to help you make. So you can use it directly.

Docker image warehouse address:

https://hub.docker.com

Because there are walls, we configure domestic images. We use Alibaba cloud’s image address.

https://dev.aliyun.com/search…

//Configure and use alicloud image accelerator
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://md4nbj2f.mirror.aliyuncs.com"]
}
EOF

//Reload profile
sudo systemctl daemon-reload   

//Restart docker  
sudo systemctl restart docker

Article link: http://www.mi360.cn/articles/7

Recommended Today

Details of multi-path and large capacity hard disk mount under CentOS

I. application environment and requirementsBlade servers connect HP storage through fiber switches, forming a 2×2 link The storage capacity of the operating system for CentOS 6.4 64 bit mount is 2.5t Based on this application environment, two problems need to be solved: In order to ensure the stability and transmission performance of the link, multi-path […]