advancedTop 100 Interview Questions

How can you inspect what changed between two image layers?

`docker history <image>` shows the layer list with the command that created each and its size; for deeper inspection, tools like `dive` can interactively browse layer contents and what each layer added, modified, or deleted.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to What's the practical difference between CMD and ENTRYPOINT?← Back to all Docker questions