mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 18:55:56 +00:00
Update cheatsheets
This commit is contained in:
25
docker-rmi
Normal file
25
docker-rmi
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# docker rmi
|
||||
|
||||
> Remove Docker images.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/rmi/>.
|
||||
|
||||
- Display 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}}`
|
||||
Reference in New Issue
Block a user