docker-rmi - Man Page
Remove one or more images
Examples (TL;DR)
- Display help:
docker rmi
- Remove one or more images given their names:
docker rmi image1 image2 ...
- Force remove an image:
docker rmi --force image
- Remove an image without deleting untagged parents:
docker rmi --no-prune image
Synopsis
docker rmi [Options] IMAGE [IMAGE...]
Description
Alias for docker image rm.
Options
-f, --force[=false] Force removal of the image
-h, --help[=false] help for rmi
--no-prune[=false] Do not delete untagged parents
See Also
Info
Dec 2024 Docker Community Docker User Manuals