I am trying to understand the output of a docker build
command for popular images e.g. node
. Here is the Dockerfile
I used.
FROM node:10
Which Dockerfile
refers to node:10
in Docker Hub?
The docker build
command has the following output:
Step 1/1 : FROM node:10
10: Pulling from library/node
9a0b0ce99936: Pull complete
db3b6004c61a: Pull complete
f8f075920295: Pull complete
6ef14aff1139: Pull complete
0bbd8b48260f: Pull complete
524be717efb1: Pull complete
5216176a8ae7: Pull complete 30f1e4a2facd: Pull complete
823c0b3f4fa2: Pull complete Digest: sha256:dabc15ad36a9e0a95862fbdf6ffdad439edc20aa27c7f10456644464e3fb5f08
Status: Downloaded newer image for node:10
---> e45bc9197ec9
Successfully built e45bc9197ec9
What do all the Pull complete
refer to? The layer ID e45bc9197ec9
refers to the final image. From a running container, is it possible to ‘reverse lookup’ e45bc9197ec9
and get all the pull digests?