阿里云镜像加速器
- 在终端中输入
sudo mkdir -p /etc/docker
---
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://c5wd2c7l.mirror.aliyuncs.com"]
}
EOF
---
sudo systemctl daemon-reload
sudo systemctl restart docker
sudo mkdir -p /etc/docker
---
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://c5wd2c7l.mirror.aliyuncs.com"]
}
EOF
---
sudo systemctl daemon-reload
sudo systemctl restart docker