From 5963077e93937046b6b13d6f1da8c1f932c0e6ff Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 7 Oct 2019 14:02:54 +0200 Subject: cli: support --systemd=always it enforces the systemd mode also when the command name doesn't match /usr/sbin/init or systemd. Signed-off-by: Giuseppe Scrivano --- docs/podman-create.1.md | 9 +++++++-- docs/podman-run.1.md | 7 ++++++- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/podman-create.1.md b/docs/podman-create.1.md index 418ad2c4e..35602f97b 100644 --- a/docs/podman-create.1.md +++ b/docs/podman-create.1.md @@ -709,11 +709,16 @@ Network Namespace - current sysctls allowed: Sysctls beginning with net.* Note: if you use the --network=host option these sysctls will not be allowed. -x -**--systemd**=*true|false* + +**--systemd**=*true|false|always* Run container in systemd mode. The default is *true*. +The value *always* enforces the systemd mode is enforced without +looking at the executable name. Otherwise, if set to true and the +command you are running inside the container is systemd or +/usr/sbin/init. + If the command you are running inside of the container is systemd or /usr/sbin/init, Podman will setup tmpfs mount points in the following directories: diff --git a/docs/podman-run.1.md b/docs/podman-run.1.md index 5cbe1a38f..e255119d7 100644 --- a/docs/podman-run.1.md +++ b/docs/podman-run.1.md @@ -747,10 +747,15 @@ Network Namespace - current sysctls allowed: Note: if you use the `--network=host` option these sysctls will not be allowed. -**--systemd**=*true|false* +**--systemd**=*true|false|always* Run container in systemd mode. The default is *true*. +The value *always* enforces the systemd mode is enforced without +looking at the executable name. Otherwise, if set to true and the +command you are running inside the container is systemd or +/usr/sbin/init. + If the command you are running inside of the container is systemd or /usr/sbin/init, Podman will setup tmpfs mount points in the following directories: -- cgit v1.2.3-54-g00ecf