diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-16 05:29:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 05:29:19 -0700 |
commit | 09e821a8eae603174c809bcc4af641d4ed5dc35c (patch) | |
tree | 6f2d4a5361cca06dce3b902ce7c71336f1cbf7d1 /libpod/container.go | |
parent | 084cfb81da4f3f3e06ad35bfb3ea52027f62273b (diff) | |
parent | c4ca3c71ffe3c08bc74158340b3427d00efdfe32 (diff) | |
download | podman-09e821a8eae603174c809bcc4af641d4ed5dc35c.tar.gz podman-09e821a8eae603174c809bcc4af641d4ed5dc35c.tar.bz2 podman-09e821a8eae603174c809bcc4af641d4ed5dc35c.zip |
Merge pull request #5690 from rhatdan/selinux
Add support for selecting kvm and systemd labels
Diffstat (limited to 'libpod/container.go')
-rw-r--r-- | libpod/container.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go index c1deb95f9..a1848b96a 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -564,6 +564,11 @@ func (c *Container) MountLabel() string { return c.config.MountLabel } +// Systemd returns whether the container will be running in systemd mode +func (c *Container) Systemd() bool { + return c.config.Systemd +} + // User returns the user who the container is run as func (c *Container) User() string { return c.config.User |