code: def get_image_info_by_image_name(self, image, exact_tag=True):
          
          logger.info("getting info about provided image specified by name '%s'", image)
          logger.debug("image_name = '%s'", image)
  
          # returns list of
          # {u'Created': 1414577076,
          #  u'Id': u'3ab9a7ed8a169ab89b09fb3e12a14a390d3c662703b65b4541c0c7bde0ee97eb',
          #  u'ParentId': u'a79ad4dac406fcf85b9c7315fe08de5b620c1f7a12f45c8185c843f4b4a49c4e',
          #  u'RepoTags': [u'buildroot-fedora:latest'],
          #  u'Size': 0,
          #  u'VirtualSize': 856564160}
          images = self.d.images(name=image.to_str(tag=False))
          if exact_tag:
              # tag is specified, we are looking for the exact image
              for found_image in images:
                  if image.to_str(explicit_tag=True) in found_image['RepoTags']:
                      logger.debug("image '%s' found", image)
                      return [found_image]
              images = []  # image not found
  
          logger.debug("%d matching images found", len(images))
          return images
docs: using `docker images`, provide information about an image
  
          :param image: ImageName, name of image
          :param exact_tag: bool, if false then return info for all images of the
                            given name regardless what their tag is
          :return: list of dicts