22 lines
509 B
Go
22 lines
509 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
//go:build windows
|
|
|
|
package docker
|
|
|
|
import docker "github.com/fsouza/go-dockerclient"
|
|
|
|
// Currently Windows containers don't support host ip in port binding.
|
|
func getPortBinding(ip string, port string) docker.PortBinding {
|
|
return docker.PortBinding{HostIP: "", HostPort: port}
|
|
}
|
|
|
|
func tweakCapabilities(basics, adds, drops []string) ([]string, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func setCPUSetCgroup(path string, pid int) error {
|
|
return nil
|
|
}
|