DockerCLI/docs/reference/commandline/volume_rm.md

659 B

volume rm

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

Remove one or more volumes

Aliases:
  rm, remove

Options:
      --help   Print usage

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

$ docker volume rm hello
hello