github.com/sijibomii/docker@v0.0.0-20231230191044-5cf6ca554647/docs/reference/commandline/volume_rm.md (about) 1 <!--[metadata]> 2 +++ 3 title = "volume rm" 4 description = "the volume rm command description and usage" 5 keywords = ["volume, rm"] 6 [menu.main] 7 parent = "smn_cli" 8 +++ 9 <![end-metadata]--> 10 11 # volume rm 12 13 Usage: docker volume rm [OPTIONS] VOLUME [VOLUME...] 14 15 Remove a volume 16 17 --help Print usage 18 19 Removes one or more volumes. You cannot remove a volume that is in use by a container. 20 21 $ docker volume rm hello 22 hello 23 24 ## Related information 25 26 * [volume create](volume_create.md) 27 * [volume inspect](volume_inspect.md) 28 * [volume ls](volume_ls.md) 29 * [Understand Data Volumes](../../userguide/containers/dockervolumes.md)