Interview Questions/Phone Screen/Docker Image vs Container
BeginnerPhone
1 min

Docker Image vs Container

DockerContainers
Advertisement
Interview Question

What is the difference between a Docker image and a Docker container?

Key Points to Cover
  • Image: immutable template or snapshot
  • Container: running instance of an image
  • Images can have layers; containers have writable layer
Evaluation Rubric
Defines image correctly34% weight
Defines container correctly33% weight
Mentions layered/writable aspects33% weight
Hints
  • 💡Image = blueprint; container = house built from it.
Potential Follow-up Questions
  • Where are images stored locally?
  • How do you list running containers?
Advertisement