>  
> -         @Override
> -         public boolean apply(Image input) {
> -            return input.id().equals(imageId);
> -         }
> -      }, null);
> +      // Image is not cached or getting image by name so try to pull it
> +      
> api.getImageApi().createImage(CreateImageOptions.Builder.fromImage(imageIdOrName));
> +      return api.getImageApi().inspectImage(imageIdOrName);

as per the comment at line 243, api.getImageApi().listImages and 
api.getImageApi().inspectImage are slightly different: listImages returns also 
`repoTags` which are useful at 
[here](https://github.com/jclouds/jclouds-labs/blob/e3c6a6f5a7b26badaa385a2ba626fcb9e386761a/docker/src/main/java/org/jclouds/docker/compute/functions/ImageToImage.java#L49-L49)

can you change the impl to populate `repoTags` even when the image gets pulled?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/290/files/44e7275be20753ff1f02e419061b900c502d2d54#r67890139

Reply via email to