docker rmi
CautionRemove images
docker rmi <image>
Deletes images to reclaim disk. In-use images need their containers removed first.
Examples
docker rmi $(docker images -f dangling=true -q)Remove dangling images
Syntax
docker rmi [-f] <image>
Before you run it
Deleted images must be re-pulled.
Used when you see
Related commands
- docker imagesList/remove images
- docker system df / pruneDocker disk usage
- docker rmRemove container/image
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store