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.
More on Core DevOps concepts
What is Infrastructure as Code (IaC)?BeginnerWhat is configuration management?BeginnerWhat is monitoring and observability?BeginnerWhat is version control, and why is Git central to DevOps?BeginnerWhat is GitOps?BeginnerWhat is a microservices architecture, and how does it affect DevOps?Intermediate