Docker添加镜像加速器

  Docker默认pull连接镜像为国外镜像,速度较慢,注册阿里云可以生成一个镜像加速器

  登录阿里云 https://cr.console.aliyun.com获取私有加速地址

  修改配置文件/etc/docker/daemon.json添加加速器地址

  重启docker生效

systemctl restart docker

  

  

猜你喜欢

转载自www.cnblogs.com/minseo/p/9105171.html