快速拉取镜像的地址

vim /etc/docker/daemon.json

修改文件为以下内容

{
        "registry-mirrors":["https://hub.c.163.com"],                 #镜像加速地址
     "insecure-registries":["192.168.1.21:5000","172.16.213.39:5000"]    #本地镜像仓库地址,可以配置多个,用英文逗号分隔 }

重启使生效:

systemctl daemon-reload
systemctl restart docker

相关文章:

  • 2021-10-22
  • 2021-08-06
  • 2021-07-02
  • 2021-05-22
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-03
  • 2021-06-06
  • 2021-01-23
  • 2022-01-12
  • 2021-08-05
  • 2021-12-22
相关资源
相似解决方案