← 返回命令列表

Linux command

crane-pull 命令

文件

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

常用示例

Pull image

crane pull [image:tag] [output.tar]

Pull specific platform

crane pull --platform [linux/amd64] [image:tag] [output.tar]

说明

crane pull downloads a container image and saves it as a tarball. The tarball can be loaded into Docker with docker load.

参数

--platform _platform_
Pull specific platform.
--format _format_
Output format (tarball or legacy).

FAQ

What is the crane-pull command used for?

crane pull downloads a container image and saves it as a tarball. The tarball can be loaded into Docker with docker load.

How do I run a basic crane-pull example?

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

What does --platform _platform_ do in crane-pull?

Pull specific platform.