DockerCLI/docs/reference/commandline/volume_rm.md

1.1 KiB

title description keywords
volume rm the volume rm command description and usage volume, rm

volume rm

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

Remove one or more volumes

Aliases:
  rm, remove

Options:
  -f, --force  Force the removal of one or more volumes
      --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