1podman-volume-create(1)() 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=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=label
34
35
36 Set metadata for a volume (e.g., --label mykey=value).
37
38
39 -o, --opt=option
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 $ podman volume create --opt device=tmpfs --opt type=tmpfs --opt o=nodev,noexec myvol
53
54
55
57 podman-volume(1)
58
59
61 November 2018, Originally compiled by Urvashi Mohnani umohnani@red‐
62 hat.com ⟨mailto:umohnani@redhat.com⟩
63
64
65
66 podman-volume-create(1)()