Linux command
podman-image 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List images
podman image list
Remove image
podman image rm [image]
Pull image
podman image pull [image:tag]
Inspect image
podman image inspect [image]
Build image
podman image build -t [name] [path]
Prune unused images
podman image prune
说明
podman image manages container images. Subcommand for Podman's image operations. Supports pulling, building, tagging, and removing images. Compatible with OCI and Docker image formats.
参数
- list
- List images.
- rm _image_
- Remove image.
- pull _image_
- Pull image from registry.
- push _image_
- Push image to registry.
- build
- Build image from Dockerfile.
- inspect _image_
- Show image details.
- prune
- Remove unused images.
- tag _src_ _dest_
- Tag an image.
FAQ
What is the podman-image command used for?
podman image manages container images. Subcommand for Podman's image operations. Supports pulling, building, tagging, and removing images. Compatible with OCI and Docker image formats.
How do I run a basic podman-image example?
Run `podman image list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does list do in podman-image?
List images.