2016-02-10 09:03:20 -05:00
% DOCKER(1) Docker User Manuals
% Docker Community
% Feb 2016
# NAME
docker-volume - Create a new volume
# SYNOPSIS
**docker volume** [OPTIONS] COMMAND
[**--help**]
# DESCRIPTION
2016-03-10 09:33:09 -05:00
docker volume has subcommands for managing data volumes.
2016-02-10 09:03:20 -05:00
## Data volumes
2016-03-10 09:33:09 -05:00
The `docker volume` command has subcommands for managing data volumes. A data volume is a specially-designated directory that by-passes storage driver management.
2016-02-10 09:03:20 -05:00
2016-03-10 09:33:09 -05:00
Data volumes persist data independent of a container's life cycle. When you delete a container, the Engine daemon does not delete any data volumes. You can share volumes across multiple containers. Moreover, you can share data volumes with other computing resources in your system.
2016-02-10 09:03:20 -05:00
2016-03-10 09:33:09 -05:00
To see help for a subcommand, use:
2016-02-10 09:03:20 -05:00
2016-03-10 09:33:09 -05:00
```
docker volume CMD help
```
2016-02-10 09:03:20 -05:00
2016-03-10 09:33:09 -05:00
For full details on using docker volume visit Docker's online documentation.
2016-02-10 09:03:20 -05:00
# OPTIONS
**--help**
Print usage statement
# COMMANDS
**create**
Create a volume
See **docker-volume-create(1)** for full documentation on the **create** command.
**inspect**
2016-06-30 08:13:28 -04:00
Display detailed information on one or more volumes
2016-02-10 09:03:20 -05:00
See **docker-volume-inspect(1)** for full documentation on the **inspect** command.
**ls**
List volumes
See **docker-volume-ls(1)** for full documentation on the **ls** command.
**rm**
Remove a volume
See **docker-volume-rm(1)** for full documentation on the **rm** command.
# HISTORY
Feb 2016, created by Dan Walsh < dwalsh @ redhat . com >