From 27ca091c08674b1a34058c9639d60455023ffa30 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 21 Aug 2018 07:31:00 -0400 Subject: Add proper support for systemd inside of podman Signed-off-by: Daniel J Walsh --- docs/podman-run.1.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/podman-run.1.md') diff --git a/docs/podman-run.1.md b/docs/podman-run.1.md index 7b23f356f..59b9d4b01 100644 --- a/docs/podman-run.1.md +++ b/docs/podman-run.1.md @@ -578,6 +578,19 @@ Network Namespace - current sysctls allowed: Note: if you use the `--network=host` option these sysctls will not be allowed. +**--systemd**=*true*|*false* + +Run container in systemd mode. The default is *true*. + +If the command you running inside of the container is systemd or init, podman +will setup tmpfs mount points in the following directories: + +/run, /run/lock, /tmp, /sys/fs/cgroup/systemd, /var/lib/journal + +It will also set the default stop signal to SIGRTMIN+3. + +This allow systemd to run in a confined container without any modifications. + **--tmpfs**=[] Create a tmpfs mount Mount a temporary filesystem (`tmpfs`) mount into a container, for example: -- cgit v1.2.3-54-g00ecf