导出镜像和导入镜像方便分享镜像文件


导出镜像: 

docker save IMAGENAME | bzip2 -9 -c>img.tar.bz2


导入镜像(换一台机器): 

bzip2 -d -c <img.tar.bz2 | docker load