1podman-volume-create(1)     General Commands Manual    podman-volume-create(1)
2
3
4

NAME

6       podman-volume-create - Create a new volume
7
8

SYNOPSIS

10       podman volume create [options]
11
12

DESCRIPTION

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

OPTIONS

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

EXAMPLES

46              $ podman volume create myvol
47
48              $ podman volume create
49
50              $ podman volume create --label foo=bar myvol
51
52
53

SEE ALSO

55       podman-volume(1)
56
57

HISTORY

59       November 2018, Originally compiled by Urvashi Mohnani
60       ⟨umohnani@redhat.com⟩
61
62
63
64                                                       podman-volume-create(1)
Impressum