1podman-volume-create(1) General Commands Manual podman-volume-create(1)
2
3
4
6 podman-volume-create - Create a new volume
7
8
10 podman volume create [options]
11
12
14 Creates an empty volume and prepares it to be used by containers. The
15 volume can be created with a specific name, if a name is not given a
16 random name is generated. You can add metadata to the volume by using
17 the --label flag and driver options can be set using the --opt flag.
18
19
21 --driver=""
22
23
24 Specify the volume driver name (default local).
25
26
27 --help
28
29
30 Print usage statement
31
32
33 -l, --label=[]
34
35
36 Set metadata for a volume (e.g., --label mykey=value).
37
38
39 -o, --opt=[]
40
41
42 Set driver specific options.
43
44
46 $ podman volume create myvol
47
48 $ podman volume create
49
50 $ podman volume create --label foo=bar myvol
51
52
53
55 podman-volume(1)
56
57
59 November 2018, Originally compiled by Urvashi Mohnani
60 ⟨umohnani@redhat.com⟩
61
62
63
64 podman-volume-create(1)