2017-04-24 17:28:21 +00:00
|
|
|
package system
|
|
|
|
|
2017-08-08 19:43:48 +00:00
|
|
|
// lcowSupported determines if Linux Containers on Windows are supported.
|
2017-04-24 17:28:21 +00:00
|
|
|
var lcowSupported = false
|
|
|
|
|
2017-09-14 19:29:42 +00:00
|
|
|
// InitLCOW sets whether LCOW is supported or not
|
|
|
|
func InitLCOW(experimental bool) {
|
2017-08-08 19:43:48 +00:00
|
|
|
v := GetOSVersion()
|
2018-01-19 20:22:39 +00:00
|
|
|
if experimental && v.Build >= 16299 {
|
2017-04-24 17:28:21 +00:00
|
|
|
lcowSupported = true
|
|
|
|
}
|
|
|
|
}
|