2018-02-05 16:05:59 -05:00
|
|
|
package system // import "github.com/docker/docker/pkg/system"
|
2017-04-24 13:28:21 -04:00
|
|
|
|
2017-08-08 15:43:48 -04:00
|
|
|
// lcowSupported determines if Linux Containers on Windows are supported.
|
2017-04-24 13:28:21 -04:00
|
|
|
var lcowSupported = false
|
|
|
|
|
2017-09-14 15:29:42 -04:00
|
|
|
// InitLCOW sets whether LCOW is supported or not
|
|
|
|
func InitLCOW(experimental bool) {
|
2017-08-08 15:43:48 -04:00
|
|
|
v := GetOSVersion()
|
2018-01-19 15:22:39 -05:00
|
|
|
if experimental && v.Build >= 16299 {
|
2017-04-24 13:28:21 -04:00
|
|
|
lcowSupported = true
|
|
|
|
}
|
|
|
|
}
|