github.com/endocode/docker@v1.4.2-0.20160113120958-46eb4700391e/daemon/execdriver/native/driver_unsupported_nocgo.go (about)

     1  // +build linux,!cgo
     2  
     3  package native
     4  
     5  import (
     6  	"fmt"
     7  
     8  	"github.com/docker/docker/daemon/execdriver"
     9  )
    10  
    11  // NewDriver returns a new native driver, called from NewDriver of execdriver.
    12  func NewDriver(root string, options []string) (execdriver.Driver, error) {
    13  	return nil, fmt.Errorf("native driver not supported on non-linux")
    14  }