docker-image-exists1
Check if an image exists in local storage
Part of podman-image-exists(1).
Usage
podman image
exists
image
Overview
podman image exists checks if an image exists in local storage. The ID or Name of the image may be used as input. Podman returns an exit code of 0 when the image is found. A 1 is returned otherwise. An exit code of 125 indicates there was an issue accessing the local storage.
Options
--help, -h
Print usage statement
Examples
Check if an image called webclient exists in local storage (the image does actually exist):
$ podman image exists webclient $ echo $? 0
Check if an image called webbackend exists in local storage (the image does not actually exist):
$ podman image exists webbackend $ echo $? 1
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)