temporary add for horovod
This commit is contained in:
@@ -230,6 +230,7 @@ func (d *DockerVM)runContainer(dockerClient *client.Client) error{
|
||||
}
|
||||
hostConfig := &container.HostConfig{
|
||||
PortBindings: PortForwarding,
|
||||
NetworkMode: "host",
|
||||
}
|
||||
|
||||
res, err := dockerClient.ContainerCreate(ctx, config, hostConfig,
|
||||
|
||||
Reference in New Issue
Block a user