August 2018
Intermediate to advanced
352 pages
12h 30m
English
Run the nate/dockviz container by supplying images --dot as a command-line argument and pipe the output to the dot (Graphviz) command, as shown in the following code, to generate the image hierarchy:
$ docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
nate/dockviz \
images --dot | dot -Tpng -o images-graph.png
The following is a graphic view of the images in the Docker host:

Here, in the graphic view, nodes with <missing> are layers within an image.
Read now
Unlock full access