2017-03-27 05:10:58 -04:00
|
|
|
---
|
|
|
|
title: "volume"
|
|
|
|
description: "The volume command description and usage"
|
|
|
|
keywords: "volume"
|
|
|
|
---
|
|
|
|
|
|
|
|
# volume
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
Usage: docker volume COMMAND
|
|
|
|
|
|
|
|
Manage volumes
|
|
|
|
|
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
|
|
|
|
Commands:
|
|
|
|
create Create a volume
|
|
|
|
inspect Display detailed information on one or more volumes
|
|
|
|
ls List volumes
|
2018-02-08 00:57:41 -05:00
|
|
|
prune Remove all unused local volumes
|
2017-03-27 05:10:58 -04:00
|
|
|
rm Remove one or more volumes
|
|
|
|
|
|
|
|
Run 'docker volume COMMAND --help' for more information on a command.
|
|
|
|
```
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
2017-04-05 12:24:53 -04:00
|
|
|
Manage volumes. You can use subcommands to create, inspect, list, remove, or
|
|
|
|
prune volumes.
|
2017-03-27 05:10:58 -04:00
|
|
|
|
|
|
|
## Related commands
|
|
|
|
|
|
|
|
* [volume create](volume_create.md)
|
|
|
|
* [volume inspect](volume_inspect.md)
|
2020-04-19 09:43:08 -04:00
|
|
|
* [volume list](volume_ls.md)
|
2017-03-27 05:10:58 -04:00
|
|
|
* [volume rm](volume_rm.md)
|
|
|
|
* [volume prune](volume_prune.md)
|
2020-04-19 09:43:08 -04:00
|
|
|
* [Understand Data Volumes](https://docs.docker.com/storage/volumes/)
|