Linux command
podman-load 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Load image from archive
podman load -i [image.tar]
Load from stdin
cat [image.tar] | podman load
Load with new name
podman load -i [archive.tar]
说明
podman load restores container images from tar archives previously created by podman save or docker save. Unlike podman import, it preserves all image layers, metadata, tags, and build history. The archive can be read from a file with -i or piped from stdin. This is the standard way to transfer complete images between systems without using a registry.
参数
- -i, --input _FILE_
- Input archive file.
- -q, --quiet
- Suppress output.
FAQ
What is the podman-load command used for?
podman load restores container images from tar archives previously created by podman save or docker save. Unlike podman import, it preserves all image layers, metadata, tags, and build history. The archive can be read from a file with -i or piped from stdin. This is the standard way to transfer complete images between systems without using a registry.
How do I run a basic podman-load example?
Run `podman load -i [image.tar]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -i, --input _FILE_ do in podman-load?
Input archive file.