docker导出镜像到本地
时间: 2023-08-26 10:10:39 浏览: 141
要将Docker镜像导出到本地,可以使用docker save命令。该命令的语法如下:docker save -o <导出文件名>.tar <镜像名>:<标签>。例如,要导出名为myimage的ubuntu最新版本镜像,可以使用以下命令:docker save -o myimage.tar ubuntu:latest。这将把镜像保存为名为myimage.tar的文件。\[1\]
#### 引用[.reference_title]
- *1* [【docker】镜像的导出保存及载入](https://blog.csdn.net/hh1357102/article/details/128638933)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v88^control,239^v2^insert_chatgpt"}} ] [.reference_item]
- *2* [docker镜像的导入导出](https://blog.csdn.net/txl910514/article/details/131089839)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v88^control,239^v2^insert_chatgpt"}} ] [.reference_item]
- *3* [docker将镜像导出到本地,上传至内网服务器上](https://blog.csdn.net/m0_60274784/article/details/126144692)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v88^control,239^v2^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文