mirror of https://github.com/docker/cli.git
24 lines
706 B
Markdown
24 lines
706 B
Markdown
|
# container rm
|
||
|
|
||
|
<!---MARKER_GEN_START-->
|
||
|
Remove one or more containers
|
||
|
|
||
|
### Aliases
|
||
|
|
||
|
`docker container rm`, `docker rm`
|
||
|
|
||
|
### Options
|
||
|
|
||
|
| Name | Type | Default | Description |
|
||
|
|:------------------|:-----|:--------|:--------------------------------------------------------|
|
||
|
| `-f`, `--force` | | | Force the removal of a running container (uses SIGKILL) |
|
||
|
| `-l`, `--link` | | | Remove the specified link |
|
||
|
| `-v`, `--volumes` | | | Remove anonymous volumes associated with the container |
|
||
|
|
||
|
|
||
|
<!---MARKER_GEN_END-->
|
||
|
|
||
|
## Description
|
||
|
|
||
|
See [docker rm](rm.md) for more information.
|