InterviewBuddy
All interview questions

How does a container image differ from a container?

Beginner

Answer

An image is a packaged template containing application files and runtime dependencies. A container is a running or stopped instance created from an image.

Explanation

Containers add runtime state; persistent data should be managed deliberately.

Example

One image can start several application containers.