Remove one or more containers
docker rm [OPTIONS] CONTAINER [CONTAINER...]
Name, shorthand | Default | Description |
---|---|---|
--force, -f |
false |
Force the removal of a running container (uses SIGKILL) |
--link, -l |
false |
Remove the specified link |
--volumes, -v |
false |
Remove the volumes associated with the container |
Command | Description |
---|---|
docker | The base command for the Docker CLI. |
Alias for docker container rm
.