0

Is there any way to look the layers of a set of docker images in a tree fashion? It will help examine if any siblings are serving the same purpose and one can be replaced with the other.

vrtx54234
  • 2,196
  • 3
  • 30
  • 53
  • Does this answer your question? [How to see tree view of docker images?](https://stackoverflow.com/questions/32454679/how-to-see-tree-view-of-docker-images) – Michael Freidgeim Jun 12 '21 at 21:56

1 Answers1

0

Earlier one used to be able to do this using docker images --tree. However that is no longer available in the latest versions of docker.

Here is an external tool that can help achieve the same visualization

sxm1972
  • 722
  • 8
  • 15
  • I tried the external tool. The tree view does not show the IDs and Tags for all the non-leaf layers. ├─ Virtual Size: 7.3 MB │ └─ Virtual Size: 7.3 MB │ └─4ea294712533 Virtual Size: 7.3 MB Tags: nate/dockviz:latest My docker version is: $ docker -v Docker version 1.12.6, build d5236f0 – vrtx54234 Apr 06 '18 at 17:59