1、启动容器
docker run -it centos:latest /bin/bash
2、打包迁移镜像
docker save centos -o centos.tar --当前目录
1、启动容器
docker run -it centos:latest /bin/bash
2、打包迁移镜像
docker save centos -o centos.tar --当前目录
转载于:https://www.cnblogs.com/last-one/p/11492340.html