code: def _get_image_infos(config,image):
      '''
      Verify that the image exists
      We will try to resolve either by:
          - name
          - image_id
          - tag
  
      image
          Image Name / Image Id / Image Tag
  
      Returns dict
      '''
      client = _get_client(config)
      infos = None
      try:
          infos = _set_id(client.inspect_image(image))
      except Exception as e:
          pass
      return infof _get_image_infos(config,image):
      '''
      Verify that the image exists
      We will try to resolve either by:
          - name
          - image_id
          - tag
  
      image
          Image Name / Image Id / Image Tag
  
      Returns dict
      '''
      client = _get_client(config)
      infos = None
      try:
          infos = _set_id(client.inspect_image(image))
      except Exception as e:
          pass
      return infos
docs: Verify that the image exists
      We will try to resolve either by:
          - name
          - image_id
          - tag
  
      image
          Image Name / Image Id / Image Tag
  
      Returns dict