...
1# volume rm
2
3<!---MARKER_GEN_START-->
4
5Remove one or more volumes. You cannot remove a volume that is in use by a container.
6
7
8### Aliases
9
10`docker volume rm`, `docker volume remove`
11
12### Options
13
14| Name | Type | Default | Description |
15|:----------------|:-----|:--------|:-----------------------------------------|
16| `-f`, `--force` | | | Force the removal of one or more volumes |
17
18
19<!---MARKER_GEN_END-->
20
21## Description
22
23Remove one or more volumes. You can't remove a volume that's in use by a container.
24
25## Examples
26
27```console
28$ docker volume rm hello
29
30hello
31```
32
33## Related commands
34
35* [volume create](volume_create.md)
36* [volume inspect](volume_inspect.md)
37* [volume ls](volume_ls.md)
38* [volume prune](volume_prune.md)
39* [Understand Data Volumes](https://docs.docker.com/storage/volumes/)
View as plain text