前言:

   docker的镜像仓库在国外,下载会很慢,启用阿里云加速。

 

第一步:cd /etc/docker目录下,打开daemon.json

docker开启加速(第三篇)

 

第二步:修改daemon.json文件,添加阿里云加速:

{
    "registry-mirrors": ["https://almtd3fa.mirror.aliyuncs.com"]
}

docker开启加速(第三篇)

 

 第三步:重启docker

systemctl daemon-reload
service docker restart

docker开启加速(第三篇)

 

 

完成了

相关文章:

  • 2021-12-08
  • 2021-09-27
  • 2021-09-27
  • 2021-06-08
  • 2022-12-23
  • 2021-11-27
  • 2021-10-27
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2021-10-23
  • 2021-04-02
  • 2022-01-10
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
相关资源
相似解决方案