load 加载image
Usage: docker load
Load an image from a tar archive on STDIN
-i,--input=""Readfrom a tar archive file, instead of STDIN
加载一个打包好的镜像.
$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
$ sudo docker load < busybox.tar
$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
busybox latest 769b9341d9377 weeks ago 2.489 MB
$ sudo docker load --input fedora.tar
$ sudo docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
busybox latest 769b9341d9377 weeks ago 2.489 MB
fedora rawhide 0d20aec6529d7 weeks ago 387 MB
fedora 2058394af373427 weeks ago 385.5 MB
fedora heisenbug 58394af373427 weeks ago 385.5 MB
fedora latest 58394af373427 weeks ago 385.5 MB