docker 提高pull速度

docker默认是采用国外的官网,但是由于官网可能比较慢。

如果是阿里云服务器会自动以阿里云的服务器作为基础。但是你如果不是阿里云的服务器,那么你就得自己制定镜像。

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

下面有针对不同系统的详细设置

配置完成后重启docker即可。

systemctl restart docker
发布了133 篇原创文章 · 获赞 29 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/qq_38403590/article/details/105490939