3.7 导出镜像(save)
如果要导出镜像到本地文件,可以使用docker [image] save命令。该命令支持-o、--output string参数,导出镜像到指定的文件中。
例如,导出本地的ubuntu:18.04镜像为文件ubuntu-18.04.tar,如下所示:
Last updated
Was this helpful?
如果要导出镜像到本地文件,可以使用docker [image] save命令。该命令支持-o、--output string参数,导出镜像到指定的文件中。
例如,导出本地的ubuntu:18.04镜像为文件ubuntu-18.04.tar,如下所示:
Last updated
Was this helpful?