Graph
Containers

📦Containers

NEW

Lightweight, isolated units packaging applications and dependencies for consistent, portable deployment across environments.

DESCRIPTION

Containers package code, runtime, libraries, and configuration into standardized images to run reliably across environments. They isolate processes using cgroups and namespaces, enabling resource control and security boundaries. Orchestrators like Kubernetes manage scaling, scheduling, and resilience. Containers accelerate CI/CD, microservices, and reproducible research. Registries distribute immutable images with versioning. Compared to virtual machines, containers share the host OS for greater efficiency while offering strong isolation for most workloads.

ALTERNATIVE DEFINITIONS

Docker

A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another.

Focuses on portability and packaging of application plus dependencies.

Source

Red Hat

Containers are packages of software that contain all of the necessary elements to run in any environment.

Highlights complete packaging for consistent execution across environments.

Source

Docker Kubernetes containerd Podman OCI Image Format Namespace cgroups HELM Microservices Container Image Container Registry Orchestration Open Container Initiative

COMPETING TERMS

Virtual Machines

KNOWLEDGE AREAS

Infrastructure Software Engineering Cloud Platform & Tooling MLOps

TARGET AUDIENCE

Software Developer DevOps Engineer Cloud Architect MLOps Engineer Software Architect Solution Architect IT Manager

EXTERNAL SOURCES

TOP QUESTIONS

How do containers differ from virtual machines?

Containers share the host OS kernel and are lighter, while VMs virtualize hardware with full OS per VM, adding overhead but stronger isolation boundaries.

Category: Comparison

They provide consistent packaging, fast startup, and scalable deployment, which fits microservices’ small, independently deployable services.

Category: Relevancy

What are common security risks with containers?

Risks include image vulnerabilities, misconfigured privileges, and supply chain issues; scanning and least privilege reduce exposure.

Category: Risk

What standards govern container interoperability?

OCI image and runtime specifications ensure images run across compliant registries and runtimes.

Category: Standard

How do I persist data in containers?

Use volumes or persistent storage classes managed by the orchestrator to store state outside ephemeral container filesystems.

Category: How-to

What is the biggest misunderstanding about containers?

That they are VMs; containers are process-level isolation sharing the kernel, not full OS virtualization.

Category: Misunderstanding

How do containers support MLOps?

They package ML dependencies reproducibly, enabling consistent training and inference across environments and hardware.

Category: Use-case

How are containers orchestrated at scale?

Kubernetes schedules and manages containers across clusters with services, deployments, and autoscaling.

Category: Operations

What is a container image?

An immutable package with layers containing the app and its dependencies, identified by digest or tags.

Category: Concepts