mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
3d17c3bb66
Addresses: #14756 Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
14 lines
320 B
Go
14 lines
320 B
Go
// +build linux,!cgo
|
|
|
|
package native
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/docker/docker/daemon/execdriver"
|
|
)
|
|
|
|
// NewDriver returns a new native driver, called from NewDriver of execdriver.
|
|
func NewDriver(root, initPath string) (execdriver.Driver, error) {
|
|
return nil, fmt.Errorf("native driver not supported on non-linux")
|
|
}
|