mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6c5988ed8c
Signed-off-by: allencloud <allen.sun@daocloud.io>
35 lines
659 B
Markdown
35 lines
659 B
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "volume rm"
|
|
description = "the volume rm command description and usage"
|
|
keywords = ["volume, rm"]
|
|
[menu.main]
|
|
parent = "smn_cli"
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
# volume rm
|
|
|
|
```markdown
|
|
Usage: docker volume rm VOLUME [VOLUME...]
|
|
|
|
Remove one or more volumes
|
|
|
|
Aliases:
|
|
rm, remove
|
|
|
|
Options:
|
|
--help Print usage
|
|
```
|
|
|
|
Remove 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](../../tutorials/dockervolumes.md)
|