summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-10-23 09:22:12 -0700
committerGitHub <noreply@github.com>2018-10-23 09:22:12 -0700
commit8ff974248084f752d328d7a8d1cd6af2959bc3fd (patch)
tree06e527e0f1c8b1736d6af2c1bb53d2e856099872 /libpod/container.go
parentc019830a750d3c2cdb20d2568c9e0f9fdc35165e (diff)
parenta95d71f1135165ae51c28b49275e5a3948fbbd2b (diff)
downloadpodman-8ff974248084f752d328d7a8d1cd6af2959bc3fd.tar.gz
podman-8ff974248084f752d328d7a8d1cd6af2959bc3fd.tar.bz2
podman-8ff974248084f752d328d7a8d1cd6af2959bc3fd.zip
Merge pull request #1687 from rhatdan/vendor
Move selinux label reservations to containers storage.
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go
index 62db87fa0..7bb5b2687 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -243,6 +243,8 @@ type ContainerConfig struct {
ProcessLabel string `json:"ProcessLabel,omitempty"`
// SELinux mount label for root filesystem
MountLabel string `json:"MountLabel,omitempty"`
+ // LabelOpts are options passed in by the user to setup SELinux labels
+ LabelOpts []string `json:"labelopts,omitempty"`
// User and group to use in the container
// Can be specified by name or UID/GID
User string `json:"user,omitempty"`