How do you see why an image is so big?

IntermediateConceptDocker
Answer

docker history shows the size of each layer. dive lets you explore the files in each layer interactively.

docker history --no-trunc myapp:1.0
dive myapp:1.0
All Real-World Interview questions Roadmap: Interview readiness

More on Docker