Sebastiaan van Stijn bb0ca9f9ef
image rm: add --platform option
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-27 10:58:11 +02:00

899 B

docker rmi

Remove one or more images

Aliases

docker image rm, docker image remove, docker rmi

Options

Name Type Default Description
-f, --force bool Force removal of the image
--no-prune bool Do not delete untagged parents
--platform stringSlice Remove only the given platform variant. Formatted as os[/arch[/variant]] (e.g., linux/amd64)