Container Fundamentals: What Every Cloud Team Should Know in 2026
A practical guide to container fundamentals in 2026, covering Docker, Podman, Finch, container security, WebAssembly, and when to choose containers over serverless.
By VVVHQ Team ·
Containers are the default way to package software for the cloud, whether the target is Kubernetes, ECS, Cloud Run or a single VM. A cloud team that builds and ships them every day still benefits from a shared picture of how they work, because most container problems in production come from gaps in the basics: an image that runs as root, a base image full of unused packages, a registry nobody cleans.
This post covers those basics for engineers who use containers but have not had to look underneath.
Why teams use containers
Three properties explain most of it. A container starts in seconds or less, since it is a process on an existing kernel and not a full virtual machine. The same image runs on a laptop, in CI and in production, which removes a whole class of "works on my machine" problems. And many containers can share one host, so hardware gets used more fully than with one VM per service.
Images, containers and registries
An image is a read-only package with everything a program needs to run: the code, the language runtime, libraries and default configuration. A container is a running instance of an image, and one image can start many isolated containers.
A registry stores and distributes images. Docker Hub is the largest public one. For production, most teams use a private registry such as Amazon ECR, Google Artifact Registry or GitHub Container Registry, with access control and retention rules.
The Open Container Initiative (OCI) defines the image format and the runtime behavior. An image built with Docker runs under Podman, containerd or any other OCI-compliant tool, so the choice of build tool does not lock you in.
Docker, Podman or Finch
Docker is the most widely used tool, and almost every tutorial and CI template assumes it. Docker Desktop needs a paid subscription for larger organizations. Docker Engine on Linux does not.
Podman runs without a central daemon and can run entirely as a normal user. It accepts the same commands as the Docker CLI and is the default on Red Hat Enterprise Linux and Fedora, which makes it common in security-focused and Red Hat shops.
Finch is an open-source tool from AWS, built on containerd and nerdctl, for building and running images locally. It suits teams that deploy mostly to ECS and EKS and want an alternative to Docker Desktop.
All three produce OCI images, so developers can use different tools locally while CI uses yet another. Pick one as the documented default anyway, so build scripts and onboarding docs have one set of commands.
What runs containers underneath
Kubernetes and other orchestrators hand the actual work to a container runtime through the Container Runtime Interface (CRI). Two runtimes cover most clusters. containerd is the runtime under Docker Engine and the default on EKS, GKE and most managed Kubernetes services. CRI-O was built for Kubernetes only and is the default on OpenShift.
Both follow the OCI runtime specification, so a container behaves the same under either. Runtime versions still matter, though: when a runtime release goes out of support, node images have to move to a newer one, and that upgrade deserves the same testing as any other platform change.
Security basics
Containers isolate processes, but they share the host kernel, and the defaults are not safe.
Do not run as root
Many images run their process as root inside the container by default. If an attacker breaks out of that container, root inside can mean root on the host. Set a non-root user in the Dockerfile (USER), enforce it in Kubernetes with runAsNonRoot, and drop Linux capabilities the process does not need. Rootless Docker and Podman go a step further and run the engine itself without root privileges.
Sign images and check signatures
To know that the image you deploy is the one your pipeline built, sign it in CI with cosign from the Sigstore project and verify the signature before deployment, for example with an admission policy in the cluster.
Scan every build
Every image inherits vulnerabilities from its base image and dependencies. Scanners such as Trivy and Grype check images against known CVEs. Run them on every build in CI and block deployments with critical findings, then rescan images already in the registry, because new CVEs are published against old images every day.
Use small base images
Distroless images from Google and Chainguard Images contain only the application and what it needs to run: no shell, no package manager. Fewer packages means fewer CVEs to triage. Moving from a full Ubuntu base to a minimal one usually removes most of the scanner findings at once. The trade-off is debugging, since there is no shell to exec into, so plan for ephemeral debug containers.
WebAssembly as an alternative
WebAssembly (Wasm) modules are smaller than container images, start faster and run in a sandbox by default. Projects such as Spin and wasmCloud run Wasm workloads next to containers in Kubernetes. They fit edge functions, plugin systems and small serverless functions. For most production services, containers remain the practical choice, and Wasm is worth watching for the narrower cases.
Containers or serverless
Most teams use both. Containers fit when you need control over the runtime, the workload runs continuously or with predictable traffic, the service holds state or talks to many others, or you want to stay portable between providers. Serverless functions fit event-driven work with spiky traffic, where cold starts are acceptable and each invocation is short and stateless. A common pattern is containers for the core services and functions for the event handling around them.
Memory limits and the runtime inside
The kernel enforces a container's memory limit. A process that goes over it is killed, and the container exits with code 137. The runtime inside has its own idea of how much memory it may use: a current JVM sizes its default heap from the container limit, but launcher scripts, explicit flags and memory outside the heap can all override or escape that.
Within one month we traced OOM kills on several JVM services on ECS to three different causes. A Play framework service's launcher ignored JAVA_OPTS, so the JVM ran with a 1 GB heap whatever the task size; the fix passes the JVM arguments through the launcher's -J flags, with 6 GiB of task memory and a new image. A scheduler ran with no -Xmx at all. A third service had its heap and direct memory sized so that together they did not fit in the container, and it moved to 14 GB of dedicated capacity.
When a container exits with 137, check which memory settings the runtime actually started with, and add up heap, direct memory and thread stacks against the limit.
After the basics: orchestration
Once a team is comfortable building and securing images, the next step is orchestration: scheduling, scaling, networking and restarting containers across many hosts. Kubernetes is the common answer, and managed services such as EKS, GKE and AKS take much of the operating work away. A team that understands images, runtimes and container security first will find Kubernetes far easier to reason about.
A first set of steps: choose one local container tool and document it, move to minimal base images, add Trivy or Grype to CI with a policy for critical CVEs, run every workload as a non-root user, and sign images in the build pipeline. We set up scanning, signing and admission policies in pipelines and clusters; ask us about yours.