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 ...
11
12

DESCRIPTION

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

OPTIONS

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

EXAMPLE

45       podman init 35480fc9d568
46
47
48       podman init test1
49
50
51       podman init --latest
52
53

SEE ALSO

55       podman(1), podman-start(1)
56
57

HISTORY

59       April 2019, Originally compiled by Matthew Heon ⟨mheon@redhat.com⟩
60
61
62
63                                                                podman-init(1)
Impressum