mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
18 lines
409 B
Go
18 lines
409 B
Go
|
package system
|
||
|
|
||
|
import "os"
|
||
|
|
||
|
// LCOWSupported determines if Linux Containers on Windows are supported.
|
||
|
// Note: This feature is in development (06/17) and enabled through an
|
||
|
// environment variable. At a future time, it will be enabled based
|
||
|
// on build number. @jhowardmsft
|
||
|
var lcowSupported = false
|
||
|
|
||
|
func init() {
|
||
|
// LCOW initialization
|
||
|
if os.Getenv("LCOW_SUPPORTED") != "" {
|
||
|
lcowSupported = true
|
||
|
}
|
||
|
|
||
|
}
|