title: How to find out which layers of a docker image are part of the base image
body: <p>Is there any way to get which layers of a docker images comes from the base image (inherited from the FROM instruction) using the docker registry API?</p>
  
  <p>I want to analyze the new layers added by my Dockerfile. To do that, I need to filter and isolate just the new layers, leaving apart every layer that come from the original base image and I do not see a trustful way to do it with response that I get after calling </p>
  
  <p><em>myregistry/v2/myimage/manifests/mytag</em></p>