github.com/vincentwoo/docker@v0.7.3-0.20160116130405-82401a4b13c0/daemon/execdriver/execdrivers/execdrivers_linux.go (about) 1 // +build linux 2 3 package execdrivers 4 5 import ( 6 "path" 7 8 "github.com/docker/docker/daemon/execdriver" 9 "github.com/docker/docker/daemon/execdriver/native" 10 "github.com/docker/docker/pkg/sysinfo" 11 ) 12 13 // NewDriver returns a new execdriver.Driver from the given name configured with the provided options. 14 func NewDriver(options []string, root, libPath string, sysInfo *sysinfo.SysInfo) (execdriver.Driver, error) { 15 return native.NewDriver(path.Join(root, "execdriver", "native"), options) 16 }