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

EXAMPLE

51       podman init 35480fc9d568
52
53
54       podman init test1
55
56
57       podman init --latest
58
59

SEE ALSO

61       podman(1), podman-start(1)
62
63

HISTORY

65       April  2019,  Originally  compiled  by  Matthew  Heon  mheon@redhat.com
66       ⟨mailto:mheon@redhat.com⟩
67
68
69
70                                                              podman-init(1)()
Impressum