code: func (task *Task) DockerConfig(container *apicontainer.Container, apiVersion dockerclient.DockerVersion) (*dockercontainer.Config, *apierrors.DockerClientConfigError) {
  	return task.dockerConfig(container, apiVersion)
  }
docs: // DockerConfig converts the given container in this task to the format of
  // the Docker SDK 'Config' struct