code: func (task *Task) ContainerByName(name string) (*apicontainer.Container, bool) {
  	for _, container := range task.Containers {
  		if container.Name == name {
  			return container, true
  		}
  	}
  	return nil, false
  }
docs: // ContainerByName returns the *Container for the given name