github.com/cdoern/storage@v1.12.13/pkg/system/init_windows.go (about)

     1  package system
     2  
     3  import "os"
     4  
     5  // LCOWSupported determines if Linux Containers on Windows are supported.
     6  // Note: This feature is in development (06/17) and enabled through an
     7  // environment variable. At a future time, it will be enabled based
     8  // on build number. @jhowardmsft
     9  var lcowSupported = false
    10  
    11  func init() {
    12  	// LCOW initialization
    13  	if os.Getenv("LCOW_SUPPORTED") != "" {
    14  		lcowSupported = true
    15  	}
    16  
    17  }