docker save命令 :导出docker镜像,到linux本地
形式为:
docker save -o 指定地址和文件名 镜像名
例子:
把名字为test,版本为4.0的docker镜像,保存到/data/export目录下,保存名字和格式为test.tar
docker save -o /data/export/test.tar test:4.0
docker save命令 :导出docker镜像,到linux本地
形式为:
docker save -o 指定地址和文件名 镜像名
例子:
把名字为test,版本为4.0的docker镜像,保存到/data/export目录下,保存名字和格式为test.tar
docker save -o /data/export/test.tar test:4.0