github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/docs/reference/commandline/volume_rm.md (about) 1 --- 2 title: "volume rm" 3 description: "the volume rm command description and usage" 4 keywords: "volume, rm" 5 --- 6 7 # volume rm 8 9 ```markdown 10 Usage: docker volume rm [OPTIONS] VOLUME [VOLUME...] 11 12 Remove one or more volumes 13 14 Aliases: 15 rm, remove 16 17 Options: 18 -f, --force Force the removal of one or more volumes 19 --help Print usage 20 ``` 21 22 ## Description 23 24 Remove one or more volumes. You cannot remove a volume that is in use by a container. 25 26 ## Examples 27 28 ```bash 29 $ docker volume rm hello 30 31 hello 32 ``` 33 34 ## Related commands 35 36 * [volume create](volume_create.md) 37 * [volume inspect](volume_inspect.md) 38 * [volume ls](volume_ls.md) 39 * [volume prune](volume_prune.md) 40 * [Understand Data Volumes](https://docs.docker.com/storage/volumes/)