is there docker api command available tree structure in json format. in docker cli
docker images --tree will gave tree structure of docker images.
as @yanana mentioned, command deprecated docker versions since docker develop team believe not core function docker , don't want docker code large.
however, there third-party project can used tree of images.
https://github.com/justone/dockviz
you can use like:
./dockviz_linux_amd64 images -d | dot -tpng -o image.png
then, can picture in image.png describes image tree.
Comments
Post a Comment