The LXC driver was deprecated in Docker 1.8. Following the deprecation rules, we can remove a deprecated feature after two major releases. LXC won't be supported anymore starting on Docker 1.10. Signed-off-by: David Calavera <david.calavera@gmail.com> Upstream-commit: 3b5fac462d21ca164b3778647420016315289034 Component: engine
18 lines
292 B
Go
18 lines
292 B
Go
// +build linux
|
|
|
|
package daemon
|
|
|
|
import "github.com/opencontainers/runc/libcontainer/selinux"
|
|
|
|
func selinuxSetDisabled() {
|
|
selinux.SetDisabled()
|
|
}
|
|
|
|
func selinuxFreeLxcContexts(label string) {
|
|
selinux.FreeLxcContexts(label)
|
|
}
|
|
|
|
func selinuxEnabled() bool {
|
|
return selinux.SelinuxEnabled()
|
|
}
|