docker-rmi - Man Page
Remove one or more images
Examples (TL;DR)
- View documentation for the original command:
tldr docker image rm
Synopsis
docker rmi [Options] IMAGE [IMAGE...]
Description
Alias for docker image rm.
Options
-f, --force[=false] Force removal of the image
--no-prune[=false] Do not delete untagged parents
--platform=[] Remove only the given platform variant. Formatted as "os[/arch[/variant]]" (e.g., "linux/amd64")
See Also
Info
Dec 2025 Docker Community Docker User Manuals