Linux command
podman-image-pull 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Pull an image
podman image pull [nginx]
Pull a specific tag
podman image pull [nginx]:[1.25]
Pull from a specific registry
podman image pull [quay.io/podman/hello]
Pull all tags
podman image pull --all-tags [alpine]
Pull without verifying TLS
podman image pull --tls-verify=false [registry.local:5000/myimage]
Pull with authentication
podman image pull --creds [user]:[password] [registry.example.com/image]
Pull and specify architecture
podman image pull --arch [arm64] [nginx]
说明
podman image pull downloads container images from registries to local storage. It supports multiple registries including Docker Hub, Quay.io, and private registries. Images are stored locally and can be used to create containers. By default, Podman searches registries defined in registries.conf. Fully qualified image names (including registry) bypass registry search. The command supports pulling by tag, digest, or retrieving all tags at once.
参数
- --all-tags
- Pull all tagged images from the repository
- --arch _ARCH_
- Override the architecture of the image to pull
- --authfile _path_
- Path to authentication file
- --creds _username[:password]_
- Credentials for registry authentication
- --disable-content-trust
- Skip image verification (default: true)
- --os _OS_
- Override the OS of the image to pull
- --platform _PLATFORM_
- Specify platform (os/arch) to pull
- --quiet, -q
- Suppress output information
- --tls-verify
- Require HTTPS and verify certificates (default: true)
- --variant _VARIANT_
- Override the variant of the image
FAQ
What is the podman-image-pull command used for?
podman image pull downloads container images from registries to local storage. It supports multiple registries including Docker Hub, Quay.io, and private registries. Images are stored locally and can be used to create containers. By default, Podman searches registries defined in registries.conf. Fully qualified image names (including registry) bypass registry search. The command supports pulling by tag, digest, or retrieving all tags at once.
How do I run a basic podman-image-pull example?
Run `podman image pull [nginx]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --all-tags do in podman-image-pull?
Pull all tagged images from the repository