Interview Prep/DevOps Fundamentals/Core DevOps concepts

What is a container, and why is it useful in DevOps?

BeginnerConceptCore DevOps concepts
Answer

A container packages an application together with everything it needs to run — code, runtime, libraries and settings — into one portable unit.

Why DevOps teams love containers:

  • The app runs the same on a laptop, in testing and in production ("works on my machine" goes away).
  • Containers start in seconds and use fewer resources than virtual machines.
  • They fit naturally into CI/CD pipelines and Kubernetes.

Docker is the most common tool for building containers.

All DevOps Fundamentals questions Roadmap: What is DevOps

More on Core DevOps concepts