summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-10-16 13:26:20 -0400
committerGitHub <noreply@github.com>2018-10-16 13:26:20 -0400
commita2266c63b4368eebfe3a1b9ea469c65e7cceb69a (patch)
treecd26d33445fb2850e78c89869002efb1abfd2bff /libpod/container.go
parent81e63ac309e8bde6603faf07a98a7963e9397188 (diff)
parent57a8c2e5e844ee403c9a703c621780de7c7343f0 (diff)
downloadpodman-a2266c63b4368eebfe3a1b9ea469c65e7cceb69a.tar.gz
podman-a2266c63b4368eebfe3a1b9ea469c65e7cceb69a.tar.bz2
podman-a2266c63b4368eebfe3a1b9ea469c65e7cceb69a.zip
Merge pull request #1650 from rhatdan/systemd
Mount proper cgroup for systemd to manage inside of the container.
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go
index 4e17b1102..62db87fa0 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -346,6 +346,9 @@ type ContainerConfig struct {
// IsInfra is a bool indicating whether this container is an infra container used for
// sharing kernel namespaces in a pod
IsInfra bool `json:"pause"`
+
+ // Systemd tells libpod to setup the container in systemd mode
+ Systemd bool `json:"systemd"`
}
// ContainerStatus returns a string representation for users