DockerCLI/docs/reference/commandline/volume_rm.md

638 B

volume rm

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

Remove a volume

  --help             Print usage

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

$ docker volume rm hello
hello