From a95d71f1135165ae51c28b49275e5a3948fbbd2b Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 18 Oct 2018 15:50:11 -0400 Subject: Allow containers/storage to handle on SELinux labeling Signed-off-by: Daniel J Walsh --- libpod/container.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpod/container.go') 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"` -- cgit v1.2.3-54-g00ecf