1podman-init(1)              General Commands Manual             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 initialize it automatically prior to starting it.   This  command
23       is  intended  to be used for inspecting a container's filesystem or OCI
24       spec prior to starting it.  This can be used to inspect  the  container
25       before it runs, or debug why a container is failing to run.
26
27

OPTIONS

29   --all, -a
30       Initialize  all  containers.  Containers  that have already initialized
31       (including containers that have been started and are running)  are  ig‐
32       nored.
33
34
35   --latest, -l
36       Instead  of  providing  the  container name or ID, use the last created
37       container.  Note: the last started container can be from other users of
38       Podman on the host machine.  (This option is not available with the re‐
39       mote Podman client, including Mac  and  Windows  (excluding  WSL2)  ma‐
40       chines)
41
42

EXAMPLE

44       Initialize container with a given ID
45
46       podman init 35480fc9d568
47
48
49
50       Initialize container with a given name
51
52       podman init test1
53
54
55
56       Initialize the latest container created by Podman
57
58       podman init --latest
59
60
61

SEE ALSO

63       podman(1), podman-start(1)
64
65

HISTORY

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