code: func (c *ContainerServer) ReserveContainerName(id, name string) (string, error) {
  	if err := c.ctrNameIndex.Reserve(name, id); err != nil {
  		err = fmt.Errorf("error reserving ctr name %s for id %s", name, id)
  		logrus.Warn(err)
  		return "", err
  	}
  	return name, nil
  }
docs: // ReserveContainerName holds a name for a container that is being created