code: func (r *controller) ContainerStatus(ctx context.Context) (*api.ContainerStatus, error) {
  	ctnr, err := r.adapter.inspect(ctx)
  	if err != nil {
  		if isUnknownContainer(err) {
  			return nil, nil
  		}
  		return nil, err
  	}
  	return parseContainerStatus(ctnr)
  }
docs: // ContainerStatus returns the container-specific status for the task.