code: func (resolver *DockerContainerMetadataResolver) ResolveContainer(dockerID string) (*apicontainer.DockerContainer, error) {
  	if resolver.dockerTaskEngine == nil {
  		return nil, fmt.Errorf("Docker task engine uninitialized")
  	}
  	container, found := resolver.dockerTaskEngine.State().ContainerByID(dockerID)
  	if !found {
  		return nil, fmt.Errorf("Could not map docker id to container: %s", dockerID)
  	}
  
  	return container, nil
  }
docs: // ResolveContainer resolves the api container object, given container id.