containers-storage-exists1
Check if a layer, image, or container exists
Usage
containers-storage exists
[options
[]]
layerOrImageOrContainerNameOrID
[]
Overview
Checks if there are layers, images, or containers which have the specified names or IDs.
Options
-c | --container
Only succeed if the names or IDs are that of containers.
-i | --image
Only succeed if the names or IDs are that of images.
-l | --layer
Only succeed if the names or IDs are that of layers.
-q | --quiet
Suppress output.
Examples
containers-storage exists my-base-layer
Releases
4 releases since Debian 11 (Bullseye); the text changed 2 times.