vincent@ubuntu:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.cn-shenzhen.aliyuncs.com/gitlab-ce-zh/gitlab-ce-zh latest 012cff0c259c 3 weeks ago 1.53GB
klokantech/openmaptiles-server latest febbfb506bf2 2 months ago 1.4GB
self-manager-web latest 71370f714900 6 months ago 311MB
test latest 46c037562904 6 months ago 311MB
tomcat latest 2d2a8abf8039 6 months ago 292MB
nginx latest b8efb18f159b 6 months ago 107MB
mysql latest c73c7527c03a 6 months ago 412MB
hello-world latest 1815c82652c0 7 months ago 1.84kB
vincent@ubuntu:~$
查看当前有哪些镜像
将gitlab镜像导出
vincent@ubuntu:~$ docker save -o ~/gitlab.tar registry.cn-shenzhen.aliyuncs.com/gitlab-ce-zh/gitlab-ce-zh:latest registry.cn-shenzhen.aliyuncs.com/gitlab-ce-zh/gitlab-ce-z
docker save -o 镜像保存文件地址 镜像名
导入gitlab镜像
docker load < ./gitlab.tar