1podman-init(1)()                                              podman-init(1)()
2
3
4

NAME

6       podman-init - Initialize one or more containers
7
8

SYNOPSIS

10       podman init [options] container [container...]
11
12
13       podman container init [options] container [container...]
14
15

DESCRIPTION

17       Initialize  one or more containers.  You may use container IDs or names
18       as input.  Initializing a container performs all  tasks  necessary  for
19       starting  the  container  (mounting  filesystems, creating an OCI spec,
20       initializing the container network) but does not start  the  container.
21       If a container is not initialized, the podman start and podman run com‐
22       mands will do so automatically prior to starting it.  This  command  is
23       intended  to  be  used  for  inspecting  or  modifying  the container's
24       filesystem or OCI spec prior to starting  it.   This  can  be  used  to
25       inspect the container before it runs, or debug why a container is fail‐
26       ing to run.
27
28

OPTIONS

30   --all, -a
31       Initialize all containers. Containers  that  have  already  initialized
32       (including  containers  that  have  been  started  and are running) are
33       ignored.
34
35
36   --latest, -l
37       Instead of providing the container name or ID,  use  the  last  created
38       container.  If you use methods other than Podman to run containers such
39       as CRI-O, the last started container could  be  from  either  of  those
40       methods.
41
42
43       The latest option is not supported on the remote client.
44
45

EXAMPLE

47       podman init 35480fc9d568
48
49
50       podman init test1
51
52
53       podman init --latest
54
55

SEE ALSO

57       podman(1), podman-start(1)
58
59

HISTORY

61       April  2019,  Originally  compiled  by  Matthew  Heon  mheon@redhat.com
62       ⟨mailto:mheon@redhat.com⟩
63
64
65
66                                                              podman-init(1)()
Impressum