2024-01-15 07:49:53 -05:00
|
|
|
# docker rm
|
|
|
|
|
|
|
|
<!---MARKER_GEN_START-->
|
|
|
|
Remove one or more containers
|
|
|
|
|
|
|
|
### Aliases
|
|
|
|
|
|
|
|
`docker container rm`, `docker container remove`, `docker rm`
|
|
|
|
|
|
|
|
### Options
|
|
|
|
|
2024-07-03 02:29:57 -04:00
|
|
|
| Name | Type | Default | Description |
|
|
|
|
|:------------------|:-------|:--------|:--------------------------------------------------------|
|
|
|
|
| `-f`, `--force` | `bool` | | Force the removal of a running container (uses SIGKILL) |
|
|
|
|
| `-l`, `--link` | `bool` | | Remove the specified link |
|
|
|
|
| `-v`, `--volumes` | `bool` | | Remove anonymous volumes associated with the container |
|
2024-01-15 07:49:53 -05:00
|
|
|
|
|
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|
|
|
|
|