1: Open Alibaba Cloud official website—"search for "Image Acceleration"
2: Choose a mirror accelerator
3: For centos operation
- Install/upgrade Docker client It is
recommended to install Docker client version 1.10.0 or higher - Configure Mirror Accelerator For
users whose Docker client version is greater than 1.10.0,
you can use the accelerator by modifying the daemon configuration file /etc/docker/daemon.json
mkdir -p /etc/docker
tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://05vz3np5.mirror.aliyuncs.com"]
}
EOF
systemctl daemon-reload
systemctl restart docker