mirror of https://github.com/CrimsonTome/tldr.git
21 lines
364 B
Markdown
21 lines
364 B
Markdown
# docker rm
|
|
|
|
> Remove containers.
|
|
> More information: <https://docs.docker.com/engine/reference/commandline/rm>.
|
|
|
|
- Remove containers:
|
|
|
|
`docker rm {{container1 container2 ...}}`
|
|
|
|
- Force remove a container:
|
|
|
|
`docker rm --force {{container1 container2 ...}}`
|
|
|
|
- Remove a container and its volumes:
|
|
|
|
`docker rm --volumes {{container}}`
|
|
|
|
- Display help:
|
|
|
|
`docker rm`
|