Home:ALL Converter>How to view Docker image layers on Docker Hub?

How to view Docker image layers on Docker Hub?

Ask Time:2014-11-30T07:37:40         Author:stackoverflower

Json Formatter

I know that I can use this command $ docker images --tree docker history 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.

E.g., for the Tomcat repo, https://registry.hub.docker.com/_/tomcat/, the webpage doesn't seem to show what is on the image. I have to look at the Dockerfile on Github to find out.

Update I see this repo https://registry.hub.docker.com/u/tutum/tomcat/ has more tabs. The "Dockerfile" 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?

Author:stackoverflower,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/27208367/how-to-view-docker-image-layers-on-docker-hub
Danny :

Use microbadger, which comes with a few badges as well, eg:\n\n\n\nSo your tomcat image on https://microbadger.com/images/tomcat would look like:\n",
2018-10-27T10:27:22
Bryan :

Docker Hub is quite limited at the moment and does not offer the feature you asked for. \n\nWhen an image is configured to build from source at Docker Hub (an Automated Build) you can see what went into it, but when it is uploaded pre-built you have no information. ",
2014-11-30T08:29:02
Jethro :

This is now possible by clicking into the image tag on Docker Hub.\n",
2020-02-20T12:38:08
yy