Docker使用阿里云镜像加速
1、进入阿里云镜像加速页面;
https://cr.console.aliyun.com/undefined/instances/mirrors
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。2、修改/etc/docker/daemon.json文件配置,没有则新建;
{ "registry-mirrors":["http://hub-mirror.c.163.com", "https://z0ubh7pu.mirror.aliyuncs.com"] }
3、重启daemon;
systemctl daemon-reload
4、重启docker服务;
systemctl restart docker

更多精彩