podman/docs/source
Joseph Gooch 0b1c1ef461 Implement --sdnotify cmdline option to control sd-notify behavior
--sdnotify container|conmon|ignore
With "conmon", we send the MAINPID, and clear the NOTIFY_SOCKET so the OCI
runtime doesn't pass it into the container. We also advertise "ready" when the
OCI runtime finishes to advertise the service as ready.

With "container", we send the MAINPID, and leave the NOTIFY_SOCKET so the OCI
runtime passes it into the container for initialization, and let the container advertise further metadata.
This is the default, which is closest to the behavior podman has done in the past.

The "ignore" option removes NOTIFY_SOCKET from the environment, so neither podman nor
any child processes will talk to systemd.

This removes the need for hardcoded CID and PID files in the command line, and
the PIDFile directive, as the pid is advertised directly through sd-notify.

Signed-off-by: Joseph Gooch <mrwizard@dok.org>
2020-07-06 17:47:18 +00:00
..
_static [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
markdown Implement --sdnotify cmdline option to control sd-notify behavior 2020-07-06 17:47:18 +00:00
Commands.rst Add deprecated message to varlink command 2020-06-15 11:41:57 -07:00
Introduction.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Reference.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Search.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Tutorials.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
conf.py
generate.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
healthcheck.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
image.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
includes.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
index.rst Add deprecated message to varlink command 2020-06-15 11:41:57 -07:00
managecontainers.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
network.rst docs: fix incomplete heading underlining in network.rst 2020-01-28 06:44:07 -05:00
play.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
pod.rst Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
system.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
volume.rst Enable pre-commit tool linting 2020-01-14 13:42:59 +00:00