1 容器保存为镜像 docker commit nginx my_nginx 2 镜像备份 将镜像保存为 tar 文件 docker save -o my_nginx.tar my_nginx 3 镜像恢复与迁移 docker loader -i my_nginx.tar