vim /etc/docker/daemon.json
{
“registry-mirrors”:[“https://registry.docker-cn.com”]
}
Docker中国区官方镜像
https://registry.docker-cn.com
网易
http://hub-mirror.c.163.com
ustc
https://docker.mirrors.ustc.edu.cn
中国科技大学
https://docker.mirrors.ustc.edu.cn
阿里云容器 服务
https://cr.console.aliyun.com/
systemctl restart docker
3. 查看docker是否运行成功
ps -ef |grep docker
4. docker查看本地镜像
dicker images
5. docker下载,默认是下载latest
docker pull nginx
6. 下载指定版本
docker pull nginx:1.12
7. 删除镜像
docker image rm 或
docker rmi