driver_unsupported.go 324 B

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