Images and Containers

Talk it through out loud with your AI coach.

The problem

  • easy

A teammate keeps mixing up Docker images and containers. Explain the difference, what happens when you run an image, and what happens to files written inside a container when it's removed.

What a strong answer covers

  • How an image relates to the containers started from it.
  • What starting a container actually creates and runs.
  • Where a container's own changes are written.
  • What survives when a container is deleted, and how to keep data that must.

Common mistake: Assuming files saved inside a container are permanent, then losing them when it is replaced.

Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.

Practise it out loud