https://cr.console.aliyun.com/#/accelerator
cat /etc/docker/daemon.json
{
"registry-mirrors": ["https://你的ID.mirror.aliyuncs.com"]
}
systemctl daemon-reload
systemctl restart docker
爽。
CENTOS7 DOCKER 1.12
腾讯云ubuntu使用阿里云的docker镜像服务,at 20180418,腾讯云docker镜像下载好慢-.-
针对Docker客户端版本大于1.10.0的用户
您可以通过修改daemon配置文件/etc/docker/daemon.json来使用加速器:
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://g8vsvoyd.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker