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:
Valentin Rothberg
2020-05-29 13:20:22 +02:00
parent 144c6bb76d
commit 402c68b41d
10 changed files with 63 additions and 9 deletions

View File

@ -3098,6 +3098,7 @@ _podman_pod_create() {
--dns-opt
--dns-search
--infra-command
--infra-conmon-pidfile
--infra-image
--ip
--label-file