# docker save > 导出 Docker 镜像到归档文件。 > 更多信息:. - 通过将 `stdout` 重定向到 tar 归档文件来保存镜像: `docker save {{image}}:{{tag}} > {{path/to/file.tar}}` - 将镜像保存为 tar 归档文件: `docker save --output {{path/to/file.tar}} {{image}}:{{tag}}` - 保存镜像的所有标签: `docker save --output {{path/to/file.tar}} {{image_name}}` - 选择特定标签的镜像进行保存: `docker save --output {{path/to/file.tar}} {{image_name:tag1 image_name:tag2 ...}}`