Skip to main content
Deletes one or more images. If no images are provided, --all can be used to delete all images. Images currently referenced by running containers cannot be deleted without first removing those containers.

Usage

container image delete [--all] [--force] [--debug] [<images> ...]

Arguments

images
string[]
Image names or IDs

Options

-a, --all
boolean
Delete all images
-f, --force
boolean
Ignore errors for images that are not found

Build docs developers (and LLMs) love