For both commands, volume is _not_ optional. Several volumes may
be specified.
Both commands now use the same name (VOLUME) for the command argument.
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 849b5b6d67
Component: cli
23 lines
426 B
Markdown
23 lines
426 B
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "ps"
|
|
description = "the volume rm command description and usage"
|
|
keywords = ["volume, rm"]
|
|
[menu.main]
|
|
parent = "smn_cli"
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
# 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
|