Remove one or more images
docker image rm
, docker image remove
, docker rmi
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 ) |