diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-08-21 07:31:00 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2018-08-31 14:42:32 -0400 |
commit | 27ca091c08674b1a34058c9639d60455023ffa30 (patch) | |
tree | 04bc6d9e5ab9b19e7728a90ff4d48b0e4efe515f /docs | |
parent | a917f8fa2a0d9130d84bfda0c40bfe1af68d505c (diff) | |
download | podman-27ca091c08674b1a34058c9639d60455023ffa30.tar.gz podman-27ca091c08674b1a34058c9639d60455023ffa30.tar.bz2 podman-27ca091c08674b1a34058c9639d60455023ffa30.zip |
Add proper support for systemd inside of podman
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/podman-create.1.md | 13 | ||||
-rw-r--r-- | docs/podman-run.1.md | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/docs/podman-create.1.md b/docs/podman-create.1.md index f27a84b1d..8523d0c78 100644 --- a/docs/podman-create.1.md +++ b/docs/podman-create.1.md @@ -544,6 +544,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: 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: |