- fix various broken links
- fix incorrect anchors
- updated links for content that moved, so that no
redirect to the new location is needed.
- touched-up Markdown;
- re-format some JSON output
- add blank line betweeen command and command output
- format "note" blocks
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 8919c228bd)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
41 lines
726 B
Markdown
41 lines
726 B
Markdown
---
|
|
title: "volume rm"
|
|
description: "the volume rm command description and usage"
|
|
keywords: "volume, rm"
|
|
---
|
|
|
|
# volume rm
|
|
|
|
```markdown
|
|
Usage: docker volume rm [OPTIONS] VOLUME [VOLUME...]
|
|
|
|
Remove one or more volumes
|
|
|
|
Aliases:
|
|
rm, remove
|
|
|
|
Options:
|
|
-f, --force Force the removal of one or more volumes
|
|
--help Print usage
|
|
```
|
|
|
|
## Description
|
|
|
|
Remove one or more volumes. You cannot remove a volume that is in use by a container.
|
|
|
|
## Examples
|
|
|
|
```bash
|
|
$ docker volume rm hello
|
|
|
|
hello
|
|
```
|
|
|
|
## Related commands
|
|
|
|
* [volume create](volume_create.md)
|
|
* [volume inspect](volume_inspect.md)
|
|
* [volume ls](volume_ls.md)
|
|
* [volume prune](volume_prune.md)
|
|
* [Understand Data Volumes](https://docs.docker.com/storage/volumes/)
|