DOKK / manpages / debian 12 / docker.io / docker-rm.1.en
DOCKER(1) Docker User Manuals DOCKER(1)

docker-rm - Remove one or more containers

docker rm [OPTIONS] CONTAINER [CONTAINER...]

Alias for docker container rm.

-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

docker(1)

May 2023 Docker Community