← 返回命令列表

Linux command

crane-export 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Export image filesystem

crane export [image] [output.tar]

Export to stdout

crane export [image] - | tar -tvf -

说明

crane export exports the filesystem of a container image to a tarball. This flattens all layers into a single archive representing the final filesystem state. Use - as output to write to stdout.

FAQ

What is the crane-export command used for?

crane export exports the filesystem of a container image to a tarball. This flattens all layers into a single archive representing the final filesystem state. Use - as output to write to stdout.

How do I run a basic crane-export example?

Run `crane export [image] [output.tar]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more crane-export examples?

This page includes 2 examples for crane-export, plus related commands for nearby Linux tasks.