Docker 配置国内源加速镜像下载

由于网络原因,我们在pull Image 的时候,从Docker Hub上下载会很慢,所以可以使用国内的镜像(mirror)来加速,方便大家使用。

配置阿里云加速器

1. 登录阿里开发者平台

https://promotion.aliyun.com/ntms/act/kubernetes.html#industry

2. 点击“镜像搜索”

自动跳转到控制台的镜像搜索

3. 注册/登录后

我用的支付宝登录

进入Docker 镜像仓库 (https://cr.console.aliyun.com/#/imageList),选中加速器 Tab

 这里可以看到,系统已经为我们生成了一个专属加速器地址:https://xxxxx.mirror.aliyuncs.com

原文地址:https://www.cnblogs.com/fanlong0212/p/12364832.html