mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 10:01:47 +00:00
Update cheatsheets
This commit is contained in:
@@ -5,8 +5,21 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# docker container rm
|
||||
|
||||
> This command is an alias of `docker rm`.
|
||||
> Remove containers.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/container/rm/>.
|
||||
|
||||
- View documentation for the original command:
|
||||
- Remove containers:
|
||||
|
||||
`tldr docker rm`
|
||||
`docker {{[rm|container rm]}} {{container1 container2 ...}}`
|
||||
|
||||
- Force remove a container:
|
||||
|
||||
`docker {{[rm|container rm]}} {{[-f|--force]}} {{container1 container2 ...}}`
|
||||
|
||||
- Remove a container and its volumes:
|
||||
|
||||
`docker {{[rm|container rm]}} {{[-v|--volumes]}} {{container}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`docker {{[rm|container rm]}} {{[-h|--help]}}`
|
||||
|
||||
Reference in New Issue
Block a user