github.com/jfrazelle/docker@v1.1.2-0.20210712172922-bf78e25fe508/pkg/system/lcow_unsupported.go (about)

     1  package system // import "github.com/docker/docker/pkg/system"
     2  import (
     3  	"runtime"
     4  	"strings"
     5  )
     6  
     7  // LCOWSupported returns true if Linux containers on Windows are supported.
     8  func LCOWSupported() bool {
     9  	return false
    10  }
    11  
    12  // IsOSSupported determines if an operating system is supported by the host.
    13  func IsOSSupported(os string) bool {
    14  	return strings.EqualFold(runtime.GOOS, os)
    15  }