DOKK / manpages / debian 11 / containers-storage / containers-storage-exists.1.en
() ()

containers-storage exists - Check if a layer, image, or container exists

containers-storage exists [options [...]] layerOrImageOrContainerNameOrID [...]

Checks if there are layers, images, or containers which have the specified names or IDs.

-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.

containers-storage exists my-base-layer