mirror of
https://github.com/docker/docs.git
synced 2026-03-28 06:49:00 +07:00
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>
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()
|
|
}
|