mirror of
https://github.com/containers/podman.git
synced 2025-06-21 09:28:09 +08:00
pod create: add --infra-conmon-pidfile
Add an `--infra-conmon-pidfile` flag to `podman-pod-create` to write the infra container's conmon process ID to a specified path. Several container sub-commands already support `--conmon-pidfile` which is especially helpful to allow for systemd to access and track the conmon processes. This allows for easily tracking the conmon process of a pod's infra container. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -47,6 +47,10 @@ Set a hostname to the pod
|
||||
|
||||
Create an infra container and associate it with the pod. An infra container is a lightweight container used to coordinate the shared kernel namespace of a pod. Default: true.
|
||||
|
||||
**--infra-conmon-pidfile**=*file*
|
||||
|
||||
Write the pid of the infra container's **conmon** process to a file. As **conmon** runs in a separate process than Podman, this is necessary when using systemd to manage Podman containers and pods.
|
||||
|
||||
**--infra-command**=*command*
|
||||
|
||||
The command that will be run to start the infra container. Default: "/pause".
|
||||
|
Reference in New Issue
Block a user