Docker 下载镜像

 Docker 镜像下载:

docker有一个默认连接的国外官方镜像,但是速度让人抓狂。

配置国内镜像

vi修改 /etc/docker/daemon.json

{

“registry-mirrors”: [“https://registry.docker-cn.com“]

}

重启docker

systemctl daemon-reload

systemctl restart docker

查看本地镜像

docker images

官方: https://hub.docker.com/

下载指定版本的镜像

docker pull nginx:1.13.8-perl

速度杠杠的!哈哈

 

原文地址:https://www.cnblogs.com/AK47Sonic/p/8684329.html