driver_unsupported_nocgo.go 241 B

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