# 提交容器为镜像

<container_id>  容器id 

my_migration_image  镜像名称

docker commit <container_id> my_migration_image


 
# 保存镜像为tar文件

docker save my_migration_image > my_migration_image.tar

在另一台电脑上导入上面的镜像,请阅读

docker 镜像文件 centos7 系统 lnmp 环境 php8.2 php5.2 php7.4-CSDN博客 


 

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐