tldr/pages/common/docker-rmi.md

21 lines
381 B
Markdown
Raw Normal View History

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