code: def remove_image(self, image_id, force=False, noprune=False):
          
          logger.info("removing image '%s' from filesystem", image_id)
          logger.debug("image_id = '%s'", image_id)
          if isinstance(image_id, ImageName):
              image_id = image_id.to_str()
          self.d.remove_image(image_id, force=force, noprune=noprune)
docs: remove provided image from filesystem
  
          :param image_id: str or ImageName
          :param noprune: bool, keep untagged parents?
          :param force: bool, force remove -- just trash it no matter what
          :return: None