Finding the layers and layer sizes for each Docker image

后端 未结 11 1719
自闭症患者
自闭症患者 2020-12-04 06:47

For research purposes I\'m trying to crawl the public Docker registry ( https://registry.hub.docker.com/ ) and find out 1) how many layers an average image has and 2) the si

11条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 07:19

    They have a very good answer here: https://stackoverflow.com/a/32455275/165865

    Just run below images:

    docker run --rm -v /var/run/docker.sock:/var/run/docker.sock nate/dockviz images -t
    

提交回复
热议问题