summaryrefslogtreecommitdiff
path: root/docs/reference/commandline/volume_rm.md
blob: ff5ce24a4bd8e9abe6b72debe6bf8bb7c2e1a81a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!--[metadata]>
+++
title = "volume rm"
description = "the volume rm command description and usage"
keywords = ["volume, rm"]
[menu.main]
parent = "smn_cli"
+++
<![end-metadata]-->

# volume rm

    Usage: docker volume rm [OPTIONS] VOLUME [VOLUME...]

    Remove a volume

      --help             Print usage

Removes one or more volumes. You cannot remove a volume that is in use by a container.

    $ docker volume rm hello
    hello

## Related information

* [volume create](volume_create.md)
* [volume inspect](volume_inspect.md)
* [volume ls](volume_ls.md)
* [Understand Data Volumes](../../userguide/containers/dockervolumes.md)