修改docker为国内源
一、编辑docker配置文件
vi /etc/docker/daemon.json
二、配置国内源和修改docker数据目录
{"registry-mirrors":["http://hub-mirror.c.163.com","https://mirrors.tuna.tsinghua.edu.cn","http://mirrors.sohu.com","https://ustc-edu-cn.mirror.aliyuncs.com","https://ccr.ccs.tencentyun.com","https://docker.m.daocloud.io","https://docker.awsl9527.cn"
],"data-root":"/home/data/docker"
}