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

docker-volume-rm - Remove one or more volumes

docker volume rm [OPTIONS] VOLUME [VOLUME...]

Remove one or more volumes. You cannot remove a volume that is in use by a container.

-f, --force[=false] Force the removal of one or more volumes

-h, --help[=false] help for rm

$ docker volume rm hello
hello

docker-volume(1)

May 2022 Docker Community