1podman-init(1)() podman-init(1)()
2
3
4
6 podman-init - Initialize one or more containers
7
8
10 podman init [options] container [container...]
11
12
13 podman container init [options] container [container...]
14
15
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 in‐
25 spect the container before it runs, or debug why a container is failing
26 to run.
27
28
30 --all, -a
31 Initialize all containers. Containers that have already initialized
32 (including containers that have been started and are running) are ig‐
33 nored.
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. (This option is not available with the remote Podman client)
41
42
44 podman init 35480fc9d568
45
46
47 podman init test1
48
49
50 podman init --latest
51
52
54 podman(1), podman-start(1)
55
56
58 April 2019, Originally compiled by Matthew Heon mheon@redhat.com
59 ⟨mailto:mheon@redhat.com⟩
60
61
62
63 podman-init(1)()