MrRightZhao

  一般情况,我们可以通过docker提供的公有仓库来下载镜像,但是但是,这种下载速度不尽人意,所以我们需要配置一下国内的阿里云仓库的地址,这样下载镜像的速度会比较快

 1.获取地址

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

      

 2.配置镜像地址

vim /etc/docker/daemon.json

{
    "registry-mirrors":["https://xxxxxxx.mirror.aliyuncs.com"],
    "live-restore": true
}

3.重新加载docker

service restart docker #重启docker,不会关闭容器

  docker--安装与部署(点我跳转)

 

分类:

技术点:

相关文章:

  • 2021-07-02
  • 2021-09-02
  • 2021-10-02
  • 2022-12-23
猜你喜欢
  • 2021-12-14
  • 2021-12-05
  • 2021-12-19
  • 2021-08-06
  • 2021-11-05
  • 2021-12-14
  • 2022-02-07
相关资源
相似解决方案