Signed-off-by: Daniel Nephin <dnephin@docker.com> Upstream-commit: 4f0d95fa6ee7f865597c03b9e63702cdcb0f7067 Component: engine
13 lines
338 B
Go
13 lines
338 B
Go
package system // import "github.com/docker/docker/pkg/system"
|
|
|
|
// lcowSupported determines if Linux Containers on Windows are supported.
|
|
var lcowSupported = false
|
|
|
|
// InitLCOW sets whether LCOW is supported or not
|
|
func InitLCOW(experimental bool) {
|
|
v := GetOSVersion()
|
|
if experimental && v.Build >= 16299 {
|
|
lcowSupported = true
|
|
}
|
|
}
|