关注分享主机优惠活动
国内外VPS云服务器

Docker映像加速配置(Docker优化)

Docker默认图片来源是国外,国内下载速度可能稍慢。配置国产Docker图片源,会大大提高Docker图片的拉取速度。

(1)配置163网易图片加速器

[root @ ansi ble ~]# vim/etc/docker/daemon . JSON { & quot;注册表-镜像& quot:[& quot;http://hub -mirror . c . 163 . com & quot;]}(2)配置Docker国内镜像源

[root @ ansi ble ~]# vim/etc/docker/daemon . JSON { & quot;注册表-镜像& quot:[& quot;https://registry . docker -cn . com & quot;]}(3)配置Docker USTC图像源

[root @ ansi ble ~]# vim/etc/docker/daemon . JSON { & quot;注册表-镜像& quot:[& quot;https://docker . mirrors . ustc . edu . cn & quot;]}

未经允许不得转载:主机频道 » Docker映像加速配置(Docker优化)

评论 抢沙发

评论前必须登录!