title: Where can I find the sha256 code of a docker image?
body: <p>I'd like to pull the images of CentOS, Tomcat, ... using their sha256 code, like in</p>
  <p><code>docker pull myimage@sha256:0ecb2ad60</code></p>
  <p>But I can't find the sha256-code to use anywhere.</p>
  <p>I checked the DockerHub repository for any hint of the sha256-code, but couldn't find any. I downloaded the images by their tag</p>
  <pre><code>docker pull tomcat:7-jre8
  </code></pre>
  <p>and checked the image with <code>docker inspect</code> to see if there's a sha256 code in the metadata, but there is none (adding the sha256 code of the image would probably change the sha256 code).</p>
  <p>Do I have to compute the sha256 code of an image myself and use that?</p>