title: How to view Docker image layers on Docker Hub?
body: <p>I know that I can use this command <del>$ docker images --tree</del> <code>docker history</code> to view the layers of a Docker image, but how do I do that for images on Docker Hub without pulling it?  This is so that I know what is on an image before I download it.</p>
  <p>E.g., for the Tomcat repo, <a href="https://registry.hub.docker.com/_/tomcat/" rel="nofollow noreferrer">https://registry.hub.docker.com/_/tomcat/</a>, the webpage doesn't seem to show what is on the image.  I have to look at the Dockerfile on Github to find out.</p>
  <p>Update
  I see this repo <a href="https://registry.hub.docker.com/u/tutum/tomcat/" rel="nofollow noreferrer">https://registry.hub.docker.com/u/tutum/tomcat/</a> has more tabs.  The &quot;Dockerfile&quot; tab shows how it is created, but only seems to show the latest version.  Is there no choice to view the file for other tags?</p>