In previous versions of the Docker API, `system prune --volumes` and `volume prune` would remove all dangling volumes. With API v1.42, this was changed so that only anonymous volumes would be removed unless the all filter was specified. Some of the docs were updated in #4218, however, there were a couple of places left that didn't make the anonymous vs named volumes distinction clear. This replaces #4079, which was bitrotted by #4218. See also #4028. Closes #4079. Signed-off-by: Ed Morley <501702+edmorley@users.noreply.github.com>
25 lines
915 B
Markdown
25 lines
915 B
Markdown
# volume
|
|
|
|
<!---MARKER_GEN_START-->
|
|
Manage volumes
|
|
|
|
### Subcommands
|
|
|
|
| Name | Description |
|
|
|:-------------------------------|:----------------------------------------------------|
|
|
| [`create`](volume_create.md) | Create a volume |
|
|
| [`inspect`](volume_inspect.md) | Display detailed information on one or more volumes |
|
|
| [`ls`](volume_ls.md) | List volumes |
|
|
| [`prune`](volume_prune.md) | Remove unused local volumes |
|
|
| [`rm`](volume_rm.md) | Remove one or more volumes |
|
|
| [`update`](volume_update.md) | Update a volume (cluster volumes only) |
|
|
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|
|
|
|
## Description
|
|
|
|
Manage volumes. You can use subcommands to create, inspect, list, remove, or
|
|
prune volumes.
|