code: def _get_container_infos(config, container):
      '''
      Get container infos
  
      container
          Image Id / grain name
  
      return: dict
      '''
      client = _get_client(config)
      infos = None
      try:
          infos = _set_id(client.inspect_container(container))
      except Exception:
          pass
      return infof _get_container_infos(config, container):
      '''
      Get container infos
  
      container
          Image Id / grain name
  
      return: dict
      '''
      client = _get_client(config)
      infos = None
      try:
          infos = _set_id(client.inspect_container(container))
      except Exception:
          pass
      return infos
docs: Get container infos
  
      container
          Image Id / grain name
  
      return: dict