code: func (c *ContainerServer) LookupContainer(idOrName string) (*oci.Container, error) {
  	if idOrName == "" {
  		return nil, fmt.Errorf("container ID or name should not be empty")
  	}
  
  	ctrID, err := c.ctrNameIndex.Get(idOrName)
  	if err != nil {
  		if err == registrar.ErrNameNotReserved {
  			ctrID = idOrName
  		} else {
  			return nil, err
  		}
  	}
  
  	return c.GetContainerFromShortID(ctrID)
  }
docs: // LookupContainer returns the container with the given name or full or partial id