Addresses: #14756 Signed-off-by: Qiang Huang <h.huangqiang@huawei.com> Upstream-commit: 3d17c3bb663a5d7a65bd39a5ef32cb4668b48c53 Component: engine
15 lines
316 B
Go
15 lines
316 B
Go
// +build !linux
|
|
|
|
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")
|
|
}
|