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
426 B
426 B
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