1.找到要打包的镜像
jaegertracing/all-in-one 1.16 fea586ade9d0 22 months ago 50.5MB
2.打包成文件
docker save -o cc.tar jaegertracing/all-in-one:1.16
3.ls 查看刚才以打包的文件
[root@master3 ~]# ls
anaconda-ks.cfg cc.tar(已打包的) kubeadm-config.yaml
4.导入到需要镜像的服务器
scp cc.tar root@192.168.200.130:
5.解压镜像文件
[root@node1 ~]# docker load < cc.tar
8f1b3d3ad470: Loading layer [==================================================>] 217.6kB/217.6kB
44874aec6671: Loading layer [==================================================>] 45.46MB/45.46MB
68b1a9835e66: Loading layer [==================================================>] 3.584kB/3.584kB
Loaded image: jaegertracing/all-in-one:1.20
6.查看刚才导出的镜像
[root@node1 ~]# docker images
REPOSITORY
registry.aliyuncs.com/google_containers/pause 3.2 80d28bedfe5d 20 months ago 683kB
registry.aliyuncs.com/google_containers/coredns 1.6.7 67da37a9a360 21 months ago 43.8MB
jaegertracing/all-in-one # 已解压的镜像 1.16 fea586ade9d0 22 months ago 50.5MB
registry.aliyuncs.com/google_containers/etcd 3.4.3-0 303ce5db0e90 2 years ago 288MB