aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-10-07 14:02:54 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-10-09 23:39:18 +0200
commit5963077e93937046b6b13d6f1da8c1f932c0e6ff (patch)
tree9666910e2f6d3c25dcafe0f8dbb35f01027e36db /docs
parent3ba3e1c7510d1780b6527a4aa52e40ac2c5b576a (diff)
downloadpodman-5963077e93937046b6b13d6f1da8c1f932c0e6ff.tar.gz
podman-5963077e93937046b6b13d6f1da8c1f932c0e6ff.tar.bz2
podman-5963077e93937046b6b13d6f1da8c1f932c0e6ff.zip
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 <gscrivan@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-create.1.md9
-rw-r--r--docs/podman-run.1.md7
2 files changed, 13 insertions, 3 deletions
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: