docker拉取镜像-配置阿里云镜像加速

1、配置阿里云镜像(用于拉取镜像加速)

docker拉取镜像-配置阿里云镜像加速_第1张图片
docker拉取镜像-配置阿里云镜像加速_第2张图片

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://xxxxxxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

2、拉取镜像

 
 

你可能感兴趣的:(环境配置,docker,阿里云,容器)