title: How can I add the used base (FROM) image to a docker image
body: <p>As far as I know it is not possible to get the value of the FROM instruction from a built image, I can get the sha256 of the used based image, because its one of the layers in the built image, but I can't get the tag, which was used in the Dockerfile.</p>
  
  <p>So I want to add the information of the instruction FROM to the built image.</p>
  
  <p>The only solution that came to my mind is to add the information as label:
  <code>
  FROM docker.private.org/base:latest
  LABEL dockerfile.baseimage=docker.private.org/base:latest
  </code><br>
  But this means that I have to duplicate the base image tag information.<br>
  Does anybody know how I could solve this requirement, without duplication of the base image tag.</p>