Lines Matching refs:volume

2 title: "volume create"
3 description: "The volume create command description and usage"
4 keywords: "volume, create"
7 # volume create
10 Usage: docker volume create [OPTIONS] [VOLUME]
12 Create a volume
15 -d, --driver string Specify volume driver name (default "local")
17 --label value Set metadata for a volume (default [])
23 Creates a new volume that containers can consume and store data in. If a name is
28 Create a volume and then configure the container to use it:
31 $ docker volume create hello
41 Multiple containers can use the same volume in the same time period. This is
46 volume name with two different drivers. If you attempt this `docker` returns an
50 A volume named "hello" already exists with the "some-other" driver. Choose a different volume nam…
53 If you specify a volume name already in use on the current driver, Docker
54 assumes you want to re-use the existing volume and does not return an error.
58 Some volume drivers may take options to customize the volume creation. Use the
62 $ docker volume create --driver fake \
68 These options are passed directly to the volume driver. Options for
69 different volume drivers may do different things (or nothing at all).
79 For example, the following creates a `tmpfs` volume called `foo` with a size of
83 $ docker volume create --driver local \
93 $ docker volume create --driver local \
103 $ docker volume create --driver local \
112 * [volume inspect](volume_inspect.md)
113 * [volume ls](volume_ls.md)
114 * [volume rm](volume_rm.md)
115 * [volume prune](volume_prune.md)