summaryrefslogtreecommitdiff
path: root/docs/podman-create.1.md
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-10-06 11:11:29 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-10-09 23:38:45 +0200
commit3ba3e1c7510d1780b6527a4aa52e40ac2c5b576a (patch)
treecf643117c58e4ac9136ad21969e48ba57738c146 /docs/podman-create.1.md
parent2bf184aa019387de560bec60636ae5152f8b54ce (diff)
downloadpodman-3ba3e1c7510d1780b6527a4aa52e40ac2c5b576a.tar.gz
podman-3ba3e1c7510d1780b6527a4aa52e40ac2c5b576a.tar.bz2
podman-3ba3e1c7510d1780b6527a4aa52e40ac2c5b576a.zip
systemd: expect full path /usr/sbin/init
"init" is a quite common name for the command executed in a container image and Podman ends up using the systemd mode also when not required. Be stricter on enabling the systemd mode and not enable it automatically when the basename is "init" but expect the full path "/usr/sbin/init". Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'docs/podman-create.1.md')
-rw-r--r--docs/podman-create.1.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/podman-create.1.md b/docs/podman-create.1.md
index 46fa4fcd4..418ad2c4e 100644
--- a/docs/podman-create.1.md
+++ b/docs/podman-create.1.md
@@ -709,13 +709,14 @@ 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*
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:
+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:
/run, /run/lock, /tmp, /sys/fs/cgroup/systemd, /var/lib/journal