mirror of https://github.com/docker/docs.git
19 lines
458 B
YAML
19 lines
458 B
YAML
command: docker volume rm
|
|
aliases: remove
|
|
short: Remove one or more volumes
|
|
long: Remove one or more volumes. You cannot remove a volume that is in use by a container.
|
|
usage: docker volume rm [OPTIONS] VOLUME [VOLUME...]
|
|
pname: docker volume
|
|
plink: docker_volume.yaml
|
|
options:
|
|
- option: force
|
|
shorthand: f
|
|
default_value: "false"
|
|
description: Force the removal of one or more volumes
|
|
examples: |-
|
|
```bash
|
|
$ docker volume rm hello
|
|
hello
|
|
```
|
|
|