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-01-29MySQL复制过滤器配置方法
- 2021-07-22MySQL主从同步延迟-大事务缺少索引
- 2021-08-09MongoDB副本集搭建教程
- 2021-02-17私有镜像仓库搭建及管理-Registry
- 2021-03-18Linux入侵检测AIDE-检查文件的完整性



