Skip to main content
XenonStack

Deployment Automation

XenonStack Insights Containers in DevOps: Role, Benefits and Limits

and | Published | Updated

Containers in DevOps: Role, Benefits and Limits
13:01
Containers in DevOps: a stack from OCI images and containerd up to CI/CD, signed images with SBOMs and governed agent-built images.

Key takeaway

  • Containers in DevOps explained for 2027: OCI images, Docker, containerd, Kubernetes, image signing, SBOMs, CI/CD, limits and agent-built image governance.

Containers in DevOps are the packaging and runtime unit that lets a team build an application once, as an image, and run the same artefact in development, test and production. In 2026 their role is wider than portability: the image is the artefact that CI/CD builds, signs, scans, promotes and rolls back, so it is also the point where delivery speed and supply-chain control meet. They are not required for DevOps, which rests on practices such as automation and continuous integration; see our guide to DevOps processes.

This guide covers how containers work, where Docker, containerd and Kubernetes fit, what image signing and SBOMs add, how container-native CI/CD runs, when containers are the wrong choice, and how to govern images that AI agents build.

What is a container, and how does it differ from a virtual machine?

A container packages an application with its libraries and configuration and runs it as an isolated process on a shared host kernel. According to the Docker docs, an image is a read-only template with the instructions for creating a container, and a container is a runnable instance of an image; isolation comes from Linux kernel namespaces. A virtual machine instead carries a full guest operating system on top of a hypervisor. Containers therefore start faster and pack more densely, while a VM gives stronger isolation between tenants because it does not share a kernel.

AspectContainerVirtual machine
Isolation unitProcess with its own namespaces, shared host kernelFull guest operating system on a hypervisor
What you shipImage (layers plus configuration)VM image with operating system
Best fitMicroservices, stateless services, CI jobs, batch workStrong tenant isolation, different kernels, legacy workloads
Main riskShared kernel, image supply chainPatching and sprawl of many guest operating systems

What do OCI images, Docker and containerd each do?

Three layers are often confused. The Open Container Initiative defines open specifications: a runtime specification, an image specification and a distribution specification, so images built by one tool can run and be distributed by another. containerd is an industry-standard runtime that, according to its site, manages the full container lifecycle on a host, including image transfer and storage and container execution, and has been a graduated CNCF project since 28 February 2019. Docker is the developer toolchain around this: the Docker docs describe a daemon (dockerd), a client and a REST API between them.

LayerWhat it doesWhy a DevOps team cares
OCI specificationsStandard image, runtime and distribution formatsNo lock-in to one builder or registry
containerd and runCPull images, create and supervise containers on a nodeThe runtime most clusters actually run
Docker Engine and CLIBuild, run and push images from a laptop or CI agentFamiliar developer workflow and Dockerfile
KubernetesSchedules and manages containers across many nodesScaling, rollouts and recovery at fleet level

How does Kubernetes orchestration fit into a DevOps pipeline?

One host is easy; fifty services on many hosts are not. The Kubernetes documentation describes Kubernetes as a portable, extensible, open source platform for managing containerised workloads and services, with declarative configuration and automation. In a pipeline the image is built and pushed by CI, and the cluster is told the desired state (a Deployment manifest or a GitOps repository). The cluster then handles scheduling, rolling updates and restarts. Its documentation also covers the Container Runtime Interface and a migration path from dockershim to CRI runtimes such as containerd, so a cluster does not need Docker Engine on its nodes. For component-level detail, read Kubernetes architecture components.

How do image signing and SBOMs secure the container supply chain?

The image is the artefact an attacker would like to tamper with, so the pipeline should prove what it built. Three open building blocks cover this. Sigstore signs and verifies artefacts including container images; its documentation describes keyless signing with short-lived certificates and a public transparency log. An SBOM lists the components inside an image, and SPDX is an open standard for it, recognised as ISO/IEC 5962:2021. SLSA gives graded guidelines for build integrity; its v1.0 specification has a Build track with Levels 1 to 3 and treats provenance as tamper-resistant evidence of how an artefact was built.

In practice, the Docker build attestations documentation says BuildKit can attach SBOM and provenance attestations to the image at build time, using the in-toto format, and that provenance attestations in min mode are added by default. A sensible rule for the admission step is simple: the cluster only runs images that are signed by your pipeline and that have an SBOM attached. For wider hardening see our posts on container security and Kubernetes security automation.

What does container-native CI/CD look like?

DORA defines continuous delivery as the ability to release changes of all kinds on demand, quickly, safely and sustainably, and lists test automation, deployment automation and pervasive security among the practices. Containers help because the same image moves through every stage. A typical sequence is below.

Two-column diagram: pipeline stages build, scan and attest, sign and push, deploy, each paired with its exit check, ending with only signed attested images reaching production.
StageWhat happensExit check
BuildCI builds the image from a Dockerfile in a clean runnerReproducible build, tagged by commit
TestUnit and integration tests run inside the image or against itTests pass on the exact artefact
Scan and attestVulnerability scan, SBOM and provenance attachedNo blocking findings; SBOM present
Sign and pushImage signed and pushed to a registry by digestSignature verifies
DeployGitOps or pipeline updates the cluster declarativelyAdmission policy accepts only signed digests
Observe and roll backHealth and metrics checked; roll back to previous digest on failureRollback tested before go-live

DORA also notes a common pitfall: deploying more often without redesigning processes and architecture tends to raise failure rates and burn out teams. Containers speed up the mechanics; they do not replace the practices.

When are containers the wrong choice?

Containers are a means, not a goal. Use the table as a decision rule before containerising a workload.

SituationWhy containers may not fitBetter option to consider
Small, stable application on one serverOrchestration and registry add running cost with little gainPlain deployment or a managed platform service
Legacy monolith with hard OS dependenciesRepackaging may need code changes and gives little benefitRehost on virtual machines first; refactor later
Strong isolation between untrusted tenantsContainers share the host kernelVirtual machines or sandboxed runtimes
Heavily stateful systems with strict storage needsPersistent storage and recovery need careful design (data written inside a container is lost when it is removed, per Docker docs)Managed database services or operators
Team without delivery basicsContainers do not fix missing automation or testingStart with CI and automated tests

How should you govern container images that AI agents build?

Coding agents now write Dockerfiles, pick base images and open pull requests that change deployment manifests. Treat an agent like any other contributor whose output reaches production through the same gates, and add controls for the new risk: an agent can pull an unvetted base image or add a package no one reviewed.

ControlWhat it enforcesEvidence it leaves
Approved base imagesAgents may only build from an allow-listed registryPolicy log of allowed and denied builds
SBOM and provenance on every buildEvery image lists its components and how it was builtAttestation attached to the digest
Signing by the pipeline, not the agentOnly the CI identity can sign; agents cannot self-approveSignature and certificate identity
Human approval for productionA named owner approves promotion of agent-authored changesApproval record tied to the commit
Decision traceWhy the agent chose a base image or version is recordedReviewable trace per change

ElixirClaw is, according to its site, an agentic OS platform to build, orchestrate and govern AI agents and automation workflows while keeping humans in control. ElixirData Context OS keeps governed context, versioned policy and decision traces in one decision layer above AI agents, and Elixir Govern (formerly AgentGRC) keeps autonomous agent actions inside policy, with the audit trail risk teams need.

What are the benefits and trade-offs of containers in DevOps?

BenefitTrade-off to plan for
Same artefact in every environment, so fewer works-on-my-machine failuresImage sprawl and stale base images need ownership
Fast, repeatable deployments and rollbacks by digestCluster operations add skills and cost
Good fit for microservices and batch jobsMore services means more monitoring and alerting
Open standards (OCI) reduce lock-inShared kernel needs hardening and runtime policy

Typical use cases are microservices, platform building, batch processing and CI/CD. If you want a managed route, see Container as a Service.

How do you adopt containers in an enterprise?

Start with one stateless service and a pilot pipeline. Exit check: the same digest runs in test and production and can be rolled back. Next, add scanning, SBOMs and signing, with an admission policy that rejects unsigned images. Then standardise base images and a registry, move to a managed or self-run Kubernetes service, and add observability. Finally, extend the same gates to agent-authored changes. Roll out in phases and keep an owner for every image.

To map one delivery decision your agents should make, and the context and policy it depends on, book a Context Workshop. See what happens in the workshop.

What should you plan for in 2027?

If your team ships containerised software to customers in the European Union, one regulation sets the calendar.

  • 11 September 2026. The European Commission's Cyber Resilience Act page says reporting obligations apply from this date, when manufacturers must report actively exploited vulnerabilities.
  • 11 December 2027. The same page says the main obligations of the Act will apply from 11 December 2027.
  • What to do now. Check whether your products fall in scope, then keep an owner for every image, a record of what each image contains and a signed, traceable build pipeline, as set out above.

Frequently asked questions

Are containers necessary for DevOps?

No. DevOps rests on practices such as automation, continuous integration and fast feedback; containers add consistency and portability but are not required.

What is the difference between Docker and containerd?

Docker is the developer toolchain (client, daemon and Dockerfile workflow). containerd is a runtime that manages the container lifecycle on a host and is a graduated CNCF project, per its site.

What is an OCI image?

An image built to the Open Container Initiative image specification, so that any compliant runtime or registry can use it.

Why sign container images and keep an SBOM?

Signing proves which pipeline built an image, and an SBOM lists its components, so a cluster can reject unknown images and teams can find affected images when a vulnerability is announced.

When should you not use containers?

For small stable applications, legacy monoliths with hard OS dependencies, workloads needing kernel-level isolation between untrusted tenants, or teams that lack basic CI and testing.

How do you govern images built by AI agents?

Allow-list base images, require SBOM and provenance on every build, let only the pipeline sign, require human approval for production and keep a decision trace.

Table of Contents

navdeep-singh-gill

Navdeep Singh Gill

Global CEO and Founder of XenonStack

LinkedIn profile

Navdeep Singh Gill is serving as Chief Executive Officer and Product Architect at XenonStack. He holds expertise in building SaaS Platform for Decentralised Big Data management and Governance, AI Marketplace for Operationalising and Scaling. His incredible experience in AI Technologies and Big Data Engineering thrills him to write about different use cases and its approach to solutions.

Get the latest articles in your inbox

Subscribe Now

Interested in solving your challenges with the XenonStack team?
Get Started

Tell us about you and your priorities so we can prepare the right conversation. It takes about 2 minutes.

Please Select your Industry
Banking
Fintech
Payment Providers
Wealth Management
Discrete Manufacturing
Semiconductor
Machinery Manufacturing / Automation
Appliances / Electrical / Electronics
Elevator Manufacturing
Defense & Space Manufacturing
Computers & Electronics / Industrial Machinery
Motor Vehicle Manufacturing
Food and Beverages
Distillery & Wines
Beverages
Shipping
Logistics
Mobility (EV / Public Transport)
Energy & Utilities
Hospitality
Digital Gaming Platforms
SportsTech with AI
Public Safety - Explosives
Public Safety - Firefighting
Public Safety - Surveillance
Public Safety - Others
Media Platforms
City Operations
Airlines & Aviation
Defense Warfare & Drones
Robotics Engineering
Drones Manufacturing
AI Labs for Colleges
AI MSP / Quantum / AGI Institutes
Retail Apparel and Fashion

Continue