Docker debug a large image layer Docker debug a large image layer docker docker

Docker debug a large image layer


I think this tool could be helpful https://github.com/wagoodman/dive It allows you to inspect each layer.

You can run the tool also inside docker, mounting the docker sock, if you prefer not to install it.

Example to inspect ubuntu:20.04 image layers and contents:

 docker run --rm -it \    -v /var/run/docker.sock:/var/run/docker.sock \    wagoodman/dive:latest ubuntu:20.04