tldr/pages/common/docker-rmi.md

21 lines
390 B
Markdown
Raw Permalink Normal View History

2020-09-18 06:35:21 +01:00
# docker rmi
> Remove one or more Docker images.
> More information: <https://docs.docker.com/engine/reference/commandline/rmi/>.
- Show 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}}`