DockerCLI/docs/reference/commandline/volume_rm.md

435 B

volume rm

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

Remove a volume

  --help=false       Print usage

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

$ docker volume rm hello hello