github.com/shiroyuki/docker@v1.9.0/pkg/parsers/operatingsystem/operatingsystem_freebsd.go (about) 1 package operatingsystem 2 3 import ( 4 "errors" 5 ) 6 7 // GetOperatingSystem gets the name of the current operating system. 8 func GetOperatingSystem() (string, error) { 9 // TODO: Implement OS detection 10 return "", errors.New("Cannot detect OS version") 11 } 12 13 // IsContainerized returns true if we are running inside a container. 14 // No-op on FreeBSD, always returns false. 15 func IsContainerized() (bool, error) { 16 // TODO: Implement jail detection 17 return false, errors.New("Cannot detect if we are in container") 18 }