podman/docs/source/markdown
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
..
links Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
containers-mounts.conf.5.md [docs] Ensure we include section 5 documentation 2019-11-02 13:48:47 +01:00
libpod.conf.5.md libpod.conf: clarify `label` description 2020-02-19 11:04:02 +01:00
podman-attach.1.md Allow users to disable detach keys 2019-11-05 14:10:43 -05:00
podman-auto-update.1.md auto-update: clarify systemd-unit requirements 2020-07-06 11:14:33 +02:00
podman-build.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-commit.1.md Implemented --iidfile for podman commit 2020-03-19 16:32:02 -04:00
podman-container-checkpoint.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-container-cleanup.1.md Add ability to clean up exec sessions with cleanup 2020-05-20 16:11:05 -04:00
podman-container-exists.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-container-prune.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-container-restore.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-container-runlabel.1.md man page cross-reference fixes: part 2 2020-03-11 11:05:37 -06:00
podman-container.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-cp.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-create.1.md Implement --sdnotify cmdline option to control sd-notify behavior 2020-07-06 17:47:18 +00:00
podman-diff.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-events.1.md podman-events: clarify streaming behaviour 2020-06-10 11:09:12 +02:00
podman-exec.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-export.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-generate-kube.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-generate-systemd.1.md "pod" was being truncated to "po" in the names of the generated systemd unit files. 2020-06-21 18:19:19 +01:00
podman-generate.1.md Update podman-generate-systemd man page 2020-04-16 09:17:27 -04:00
podman-healthcheck-run.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-healthcheck.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-history.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-image-diff.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-image-exists.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-image-prune.1.md note for skipping cache image added. 2020-04-15 02:49:47 +00:00
podman-image-sign.1.md codespell: spelling corrections 2019-11-13 08:15:00 +11:00
podman-image-tree.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-image-trust.1.md (minor) fix broken links to container-policy.json.5 2020-01-06 08:34:56 -07:00
podman-image.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-images.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-import.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-info.1.md add socket information to podman info 2020-06-03 15:20:37 -05:00
podman-init.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-inspect.1.md docs: recommend alternatives to podman inspect 2020-06-30 10:50:33 -04:00
podman-kill.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-load.1.md Allow users to set TMPDIR environment 2020-03-06 10:21:37 -05:00
podman-login.1.md update document login see config.json as valid 2020-06-11 13:24:21 -04:00
podman-logout.1.md fix mandatory parameter in login/logout 2020-02-18 15:30:49 -05:00
podman-logs.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-manifest-add.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-manifest-annotate.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-manifest-create.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest-inspect.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest-push.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-manifest-remove.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-manifest.1.md Manifest remove, push 2020-05-06 10:54:28 -04:00
podman-mount.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-network-create.1.md Fixed typo on podman network create man 2020-05-08 13:18:23 +02:00
podman-network-inspect.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-network-ls.1.md filter option added to network ls command. 2020-05-20 02:53:47 +00:00
podman-network-rm.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-network.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-play-kube.1.md Add support for specifying CNI networks in podman play kube 2020-03-27 10:00:01 +01:00
podman-play.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-create.1.md pod create --replace 2020-06-15 15:55:55 +02:00
podman-pod-exists.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-inspect.1.md Add --format to pod inspect 2020-05-27 09:48:38 +03:00
podman-pod-kill.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-pause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-prune.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-pod-ps.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-pod-restart.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod-rm.1.md podman-pod{rm,start,stop}: support --pod-id-file 2020-06-11 11:01:13 +02:00
podman-pod-start.1.md podman-pod{rm,start,stop}: support --pod-id-file 2020-06-11 11:01:13 +02:00
podman-pod-stats.1.md implement pod stats 2020-04-27 12:00:35 +02:00
podman-pod-stop.1.md podman-pod{rm,start,stop}: support --pod-id-file 2020-06-11 11:01:13 +02:00
podman-pod-top.1.md docs: update podman-{pod-,}top man pages 2019-12-11 10:50:27 +01:00
podman-pod-unpause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-pod.1.md Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
podman-port.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-ps.1.md podman-ps: support image IDs 2020-02-17 15:22:21 +01:00
podman-pull.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman-push.1.md Cleanup man pages for pull and push 2020-04-25 06:33:06 -04:00
podman-remote.1.md Fix remote docs 2020-06-18 12:13:46 -04:00
podman-restart.1.md Switch to using --time as opposed to --timeout to better match Docker. 2020-03-31 08:50:32 -04:00
podman-rm.1.md Merge pull request #4974 from rhatdan/man 2020-01-28 03:28:18 -08:00
podman-rmi.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-run.1.md Implement --sdnotify cmdline option to control sd-notify behavior 2020-07-06 17:47:18 +00:00
podman-save.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-search.1.md search --limit compatible with docker 2020-05-01 11:20:19 -04:00
podman-start.1.md Allow users to disable detach keys 2019-11-05 14:10:43 -05:00
podman-stats.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-stop.1.md Switch to using --time as opposed to --timeout to better match Docker. 2020-03-31 08:50:32 -04:00
podman-system-connection.1.md V2 podman system connection 2020-06-23 08:18:53 -07:00
podman-system-df.1.md markdown: fix erroneous asterisk markup for options 2020-01-30 06:44:33 -05:00
podman-system-migrate.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-system-prune.1.md docs: fix system-prune markdown; reword for clarity 2020-01-26 07:46:21 -05:00
podman-system-renumber.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-system-reset.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-system-service.1.md Add a note on the APIs supported by `system service` 2020-06-29 14:26:07 -04:00
podman-system.1.md V2 podman system connection 2020-06-23 08:18:53 -07:00
podman-tag.1.md Update `tag` documentation regarding 'alias' usage 2020-01-17 08:51:36 +01:00
podman-top.1.md docs: update podman-{pod-,}top man pages 2019-12-11 10:50:27 +01:00
podman-umount.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-unpause.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-unshare.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-untag.1.md Docs: consistency between man / --help 2020-06-24 10:39:10 -06:00
podman-version.1.md podman version --format ... was not working 2020-05-21 16:31:34 -04:00
podman-volume-create.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-volume-inspect.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-volume-ls.1.md man pages: fix inconsistencies 2020-03-10 15:03:59 -06:00
podman-volume-prune.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-volume-rm.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-volume.1.md Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
podman-wait.1.md Attempt to turn on additional build tests 2020-05-22 12:55:23 -04:00
podman.1.md Set engine env from common config 2020-07-03 15:29:38 -04:00