docker镜像导入导出备份迁移

导出:

docker save -o centos.tar centos:latest #将centos:latest镜像导出为centos.tar文件

导入:

docker load -i centos.tar  #加载centos.tar,加载后的镜像各标签与原导出的镜像标签相同

 

posted @ 2019-12-05 15:01  牛牛妞妞NN  阅读(340)  评论(0)    收藏  举报