Merge pull request #211 from mrunalp/sec_integration
Integrate security settings
This commit is contained in:
commit
2b9673deb9
2
spec.go
2
spec.go
|
@ -283,6 +283,8 @@ func createLibcontainerConfig(cgroupName string, spec *specs.LinuxSpec) (*config
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
config.Sysctl = spec.Linux.Sysctl
|
config.Sysctl = spec.Linux.Sysctl
|
||||||
|
config.ProcessLabel = spec.Linux.SelinuxProcessLabel
|
||||||
|
config.AppArmorProfile = spec.Linux.ApparmorProfile
|
||||||
return config, nil
|
return config, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue