summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-10-18 15:50:11 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2018-10-23 10:57:23 -0400
commita95d71f1135165ae51c28b49275e5a3948fbbd2b (patch)
tree09a1a17d28799e0ebf409c45f80d1b01985717ac /libpod/container.go
parent57b0b89d0ceb77bfd51a4d957f51fcea3d1580f6 (diff)
downloadpodman-a95d71f1135165ae51c28b49275e5a3948fbbd2b.tar.gz
podman-a95d71f1135165ae51c28b49275e5a3948fbbd2b.tar.bz2
podman-a95d71f1135165ae51c28b49275e5a3948fbbd2b.zip
Allow containers/storage to handle on SELinux labeling
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
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"`