2018-11-06 05:39:48 +00:00
|
|
|
package docker
|
|
|
|
|
|
|
|
import docker "github.com/fsouza/go-dockerclient"
|
|
|
|
|
|
|
|
//Currently Windows containers don't support host ip in port binding.
|
2021-02-03 03:54:23 +00:00
|
|
|
func getPortBinding(ip string, port string) docker.PortBinding {
|
|
|
|
return docker.PortBinding{HostIP: "", HostPort: port}
|
2018-11-06 05:39:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func tweakCapabilities(basics, adds, drops []string) ([]string, error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|
2021-04-15 14:39:11 +00:00
|
|
|
|
2021-04-13 03:59:49 +00:00
|
|
|
func setCPUSetCgroup(path string, pid int) error {
|
|
|
|
return nil
|
|
|
|
}
|