github.com/sijibomii/docker@v0.0.0-20231230191044-5cf6ca554647/man/docker-volume.1.md (about) 1 % DOCKER(1) Docker User Manuals 2 % Docker Community 3 % Feb 2016 4 # NAME 5 docker-volume - Create a new volume 6 7 # SYNOPSIS 8 **docker volume** [OPTIONS] COMMAND 9 [**--help**] 10 11 # DESCRIPTION 12 13 docker volume has subcommands for managing data volumes. 14 15 ## Data volumes 16 17 The `docker volume` command has subcommands for managing data volumes. A data volume is a specially-designated directory that by-passes storage driver management. 18 19 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. 20 21 To see help for a subcommand, use: 22 23 ``` 24 docker volume CMD help 25 ``` 26 27 For full details on using docker volume visit Docker's online documentation. 28 29 # OPTIONS 30 **--help** 31 Print usage statement 32 33 # COMMANDS 34 **create** 35 Create a volume 36 See **docker-volume-create(1)** for full documentation on the **create** command. 37 38 **inspect** 39 Return low-level information on a volume 40 See **docker-volume-inspect(1)** for full documentation on the **inspect** command. 41 42 **ls** 43 List volumes 44 See **docker-volume-ls(1)** for full documentation on the **ls** command. 45 46 **rm** 47 Remove a volume 48 See **docker-volume-rm(1)** for full documentation on the **rm** command. 49 50 # HISTORY 51 Feb 2016, created by Dan Walsh <dwalsh@redhat.com>