github.com/olljanat/moby@v1.13.1/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  <!-- This file is maintained within the docker/docker Github
     8       repository at https://github.com/docker/docker/. Make all
     9       pull requests against that repo. If you see this file in
    10       another repository, consider it read-only there, as it will
    11       periodically be overwritten by the definitive file. Pull
    12       requests which include edits to this file in other repositories
    13       will be rejected.
    14  -->
    15  
    16  # volume rm
    17  
    18  ```markdown
    19  Usage:  docker volume rm [OPTIONS] VOLUME [VOLUME...]
    20  
    21  Remove one or more volumes
    22  
    23  Aliases:
    24    rm, remove
    25  
    26  Options:
    27    -f, --force  Force the removal of one or more volumes
    28        --help   Print usage
    29  ```
    30  
    31  Remove one or more volumes. You cannot remove a volume that is in use by a container.
    32  
    33      $ docker volume rm hello
    34      hello
    35  
    36  ## Related information
    37  
    38  * [volume create](volume_create.md)
    39  * [volume inspect](volume_inspect.md)
    40  * [volume ls](volume_ls.md)
    41  * [volume prune](volume_prune.md)
    42  * [Understand Data Volumes](https://docs.docker.com/engine/tutorials/dockervolumes/)