github.com/rentongzhang/docker@v1.8.2-rc1/daemon/execdriver/native/driver_unsupported.go (about)

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