一、 save命令将镜像保存为tar文件。
docker save -o images.tar postgres:9.6
docker save -o 保存的文件名 来源镜像
二、load命令将tar文件加载到本地镜像中。
docker load -i images.tar
从images.tar中加载镜像
一、 save命令将镜像保存为tar文件。
docker save -o images.tar postgres:9.6
docker save -o 保存的文件名 来源镜像
二、load命令将tar文件加载到本地镜像中。
docker load -i images.tar
从images.tar中加载镜像