sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["阿里云镜像加速器"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

通过修改daemon配置文件/etc/docker/daemon.json来使用加速器

https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors

相关文章:

  • 2022-12-23
  • 2021-11-06
  • 2021-08-31
  • 2021-07-16
猜你喜欢
  • 2021-10-25
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2021-05-27
  • 2022-01-10
  • 2022-12-23
相关资源
相似解决方案