|
发表于 2020-8-26 11:35:10
|
显示全部楼层
修改daemon.json
- vim /etc/docker/daemon.json
复制代码
在其中添加几个国内的加速镜像源:
- {
- "registry-mirrors": [
- "https:\//c55uw9c5.mirror.aliyuncs.com",
- "https:\//registry.docker-cn.com",
- "http:\//hub-mirror.c.163.com"
- ],
- "dns": ["114.114.114.114","8.8.8.8"]
- }
复制代码
注意,自己把https:\//中的\去掉
重启docker服务:
|
|