一、 save命令将镜像保存为tar文件。
docker save -o images.tar postgres:9.6
docker save -o 保存的文件名 来源镜像
二、load命令将tar文件加载到本地镜像中。
docker load -i images.tar
从images.tar中加载镜像
docker的【save】和【load】命令使用
阅读 71
2023-05-19
一、 save命令将镜像保存为tar文件。
docker save -o images.tar postgres:9.6
docker save -o 保存的文件名 来源镜像
二、load命令将tar文件加载到本地镜像中。
docker load -i images.tar
从images.tar中加载镜像
相关推荐
精彩评论(0)