Files
docker-cli/docs/reference/commandline/volume_rm.md
Sebastiaan van Stijn f2e79b826c docs: use "console" code-hint for shell examples
This replaces the use of bash where suitable, to allow easier copy/pasting
of shell examples without copying the prompt or process output.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 47ba76afb1)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-06 16:48:53 +02:00

729 B

title, description, keywords
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

Description

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

Examples

$ docker volume rm hello

hello