2015-06-12 09:25:32 -04:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
2015-10-09 19:50:41 -04:00
|
|
|
title = "volume rm"
|
2015-06-12 09:25:32 -04:00
|
|
|
description = "the volume rm command description and usage"
|
|
|
|
keywords = ["volume, rm"]
|
|
|
|
[menu.main]
|
|
|
|
parent = "smn_cli"
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
# volume rm
|
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
```markdown
|
2016-07-29 13:41:52 -04:00
|
|
|
Usage: docker volume rm VOLUME [VOLUME...]
|
2015-06-12 09:25:32 -04:00
|
|
|
|
2016-07-29 13:41:52 -04:00
|
|
|
Remove one or more volumes
|
2015-06-12 09:25:32 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
Aliases:
|
|
|
|
rm, remove
|
|
|
|
|
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
```
|
2015-06-12 09:25:32 -04:00
|
|
|
|
2016-07-29 13:41:52 -04:00
|
|
|
Remove one or more volumes. You cannot remove a volume that is in use by a container.
|
2015-06-12 09:25:32 -04:00
|
|
|
|
2015-11-09 03:17:50 -05:00
|
|
|
$ docker volume rm hello
|
|
|
|
hello
|
2016-02-18 14:52:15 -05:00
|
|
|
|
|
|
|
## Related information
|
|
|
|
|
|
|
|
* [volume create](volume_create.md)
|
|
|
|
* [volume inspect](volume_inspect.md)
|
|
|
|
* [volume ls](volume_ls.md)
|
2016-06-13 14:08:11 -04:00
|
|
|
* [Understand Data Volumes](../../tutorials/dockervolumes.md)
|