Each platform has only a driver now. Signed-off-by: David Calavera <david.calavera@gmail.com> Upstream-commit: 157b66ad390902ef6f5b51b3f76d5177eacac81b Component: engine
15 lines
468 B
Go
15 lines
468 B
Go
// +build windows
|
|
|
|
package execdrivers
|
|
|
|
import (
|
|
"github.com/docker/docker/daemon/execdriver"
|
|
"github.com/docker/docker/daemon/execdriver/windows"
|
|
"github.com/docker/docker/pkg/sysinfo"
|
|
)
|
|
|
|
// NewDriver returns a new execdriver.Driver from the given name configured with the provided options.
|
|
func NewDriver(options []string, root, libPath, initPath string, sysInfo *sysinfo.SysInfo) (execdriver.Driver, error) {
|
|
return windows.NewDriver(root, initPath, options)
|
|
}
|