Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: 5b24976ad4046a9c071b75df31d9269ad2e84732 Component: engine
13 lines
290 B
Go
13 lines
290 B
Go
package 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
|
|
}
|
|
}
|