Docker镜像加速配置
Docker默认镜像源在国外,国内下载速度可能略慢,配置国内Docker镜像源,会大大提高Docker镜像拉取速度。
(1)配置 163 网易镜像加速器
[root@ansible ~]# vim /etc/docker/daemon.json
{
"registry-mirrors":["http://hub-mirror.c.163.com"]
}(2)配置Docker国内镜像源
[root@ansible ~]# vim /etc/docker/daemon.json
{
"registry-mirrors": [ "https://registry.docker-cn.com"]
}(3)配置Docker USTC镜像源
[root@ansible ~]# vim /etc/docker/daemon.json
{
"registry-mirrors": [ "https://docker.mirrors.ustc.edu.cn"]
}作者:UStarGao
链接:https://www.starcto.com/docker/269.html
来源:STARCTO
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
UCloud云平台推荐
随便看看
- 2021-03-05MySQL查询语句执行过程
- 2021-01-27数据库宕机以后恢复的过程?如何保证事务的ACID特性?
- 2021-02-17私有镜像仓库搭建及管理-Registry
- 2021-03-18Linux入侵检测AIDE-检查文件的完整性
- 2023-08-18Linux 数据盘盘符变化导致启动异常



