1、阿里云镜像加速配置
1)、注册阿里云开发账号
2)、使用阿里云镜像加速地址

CentOS7的配置文件:
/etc/docker/daemon.json
创建配置文件并添上如下内容
{
"registry-mirrors": ["https://9fzy4xpk.mirror.aliyuncs.com"]
}
再执行如下命令:
sudo systemctl daemon-reload
sudo systemctl restart docker
2、运行hello-world镜像
docker run hello-world
