docker images的导入导出

1
2
3
4
5
6
7
8
9
> docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
rethinkdb latest 84f2159c754f 6 hours ago 183.8 MB
swarm latest f0aa3f353dfd 4 days ago 19.47 MB
alpine latest 4e38e38c8ce0 5 weeks ago 4.795 MB
shipyard/shipyard latest ab940e847950 9 weeks ago 58.89 MB
shipyard/docker-proxy latest cfee14e5d6f2 7 months ago 9.464 MB
ehazlett/curl latest de1763b15312 11 months ago 8.727 MB
microbox/etcd latest 6aef84b9ec5a 12 months ago 17.86 MB

导出

1
> docker save shipyard/docker-proxy > dp.tar

copy到另一台主机导入

1
> docker load < dp.tar