Integrate security settings

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel 2015-08-18 20:10:23 -04:00
parent d6ae10ada4
commit 31f88daf91
1 changed files with 2 additions and 0 deletions

View File

@ -283,6 +283,8 @@ func createLibcontainerConfig(cgroupName string, spec *specs.LinuxSpec) (*config
}
}
config.Sysctl = spec.Linux.Sysctl
config.ProcessLabel = spec.Linux.SelinuxProcessLabel
config.AppArmorProfile = spec.Linux.ApparmorProfile
return config, nil
}