github.com/tompao/docker@v1.9.1/daemon/execdriver/execdrivers/execdrivers_freebsd.go (about) 1 // +build freebsd 2 3 package execdrivers 4 5 import ( 6 "fmt" 7 8 "github.com/docker/docker/daemon/execdriver" 9 "github.com/docker/docker/pkg/sysinfo" 10 ) 11 12 // NewDriver returns a new execdriver.Driver from the given name configured with the provided options. 13 func NewDriver(name string, options []string, root, libPath, initPath string, sysInfo *sysinfo.SysInfo) (execdriver.Driver, error) { 14 switch name { 15 case "jail": 16 return nil, fmt.Errorf("jail driver not yet supported on FreeBSD") 17 } 18 return nil, fmt.Errorf("unknown exec driver %s", name) 19 }