code: func (task *Task) DockerHostConfig(container *apicontainer.Container, dockerContainerMap map[string]*apicontainer.DockerContainer, apiVersion dockerclient.DockerVersion) (*dockercontainer.HostConfig, *apierrors.HostConfigError) {
  	return task.dockerHostConfig(container, dockerContainerMap, apiVersion)
  }
docs: // DockerHostConfig construct the configuration recognized by docker