Docker拉取的镜像源更改为国内的镜像源

vim /etc/docker/daemon.json
{
"registry-mirrors": [
"https://kfwkfulq.mirror.aliyuncs.com",
"https://2lqq34jg.mirror.aliyuncs.com",
"https://pee6w651.mirror.aliyuncs.com",
"https://registry.docker-cn.com",
"http://hub-mirror.c.163.com"
],
"dns": ["8.8.8.8","8.8.4.4"]
}

#重启docker服务
systemctl restart docker

 

posted @ 2019-08-01 21:13  落魄山陈平安  阅读(4248)  评论(0编辑  收藏  举报