mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 14:58:39 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/docker-image-rm
Normal file
25
tldr/docker-image-rm
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# docker image rm
|
||||
|
||||
> Remove Docker images.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/image/rm/>.
|
||||
|
||||
- Remove one or more images given their names:
|
||||
|
||||
`docker image rm {{image1 image2 ...}}`
|
||||
|
||||
- Force remove an image:
|
||||
|
||||
`docker image rm {{[-f|--force]}} {{image}}`
|
||||
|
||||
- Remove an image without deleting untagged parents:
|
||||
|
||||
`docker image rm --no-prune {{image}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`docker image rm`
|
||||
Reference in New Issue
Block a user