docker镜像导入导出备份迁移
导出:
docker save -o centos.tar centos:latest #将centos:latest镜像导出为centos.tar文件
导入:
docker load -i centos.tar #加载centos.tar,加载后的镜像各标签与原导出的镜像标签相同
导出:
docker save -o centos.tar centos:latest #将centos:latest镜像导出为centos.tar文件
导入:
docker load -i centos.tar #加载centos.tar,加载后的镜像各标签与原导出的镜像标签相同