docker-rm - Man Page
Remove one or more containers
Examples (TL;DR)
- 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 --help
Synopsis
docker rm [Options] CONTAINER [CONTAINER...]
Description
Alias for docker container rm.
Options
-f, --force[=false] Force the removal of a running container (uses SIGKILL)
-h, --help[=false] help for rm
-l, --link[=false] Remove the specified link
-v, --volumes[=false] Remove anonymous volumes associated with the container
See Also
Info
Dec 2024 Docker Community Docker User Manuals