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
47              podman init 35480fc9d568
48
49
50
51       Initialize container with a given name
52
53
54              podman init test1
55
56
57
58       Initialize the latest container created by Podman
59
60
61              podman init --latest
62
63
64

SEE ALSO

66       podman(1), podman-start(1)
67
68

HISTORY

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