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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store