Interview Prep/Docker/Volumes, storage and data

How do you check what's changed inside a running container's filesystem?

BeginnerScenarioVolumes, storage and data
Answer

Situation read → Need to find unexpected writes.

What I'd do →

docker diff web

Output shows A (added), C (changed), D (deleted) paths versus the image.

Why → Reveals what should be a volume or what an attacker modified.

Interview tip → Good for forensics before you destroy the container.

All Docker questions Roadmap: Docker & containers

More on Volumes, storage and data