docker rmi

Remove images

medium risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

Deletes local images. See the flags and examples below, and run `man docker` for the full reference.

Common flags
FlagMeaning
-fForce
Examples
docker rmi nginx:1.25Remove an image · explain & risk-check →
Open the full explainer →More in Docker & Containers

Reference text is hand-written and may be incomplete — check man docker for your version. Test destructive commands on a non-production system first.