Kamil Józwik
← All posts

Everyone Noticed Docker's New Whale and Missed Its AI Agent Control Plane

5 min read

When I shared Docker’s November 19 announcement, Meet the New Docker: Built to Run on Trust, with a few colleagues, almost everyone focused on one thing: the redesigned Moby logo with the shipping containers removed from its back.

To be fair, Docker invited that reaction. Leading a technical shift with a mascot overhaul and landing pages packed with the word “trust” is a fast way to earn developer skepticism. Strip away the marketing copy, though, and Docker just made a blunt architectural admission alongside a calculated business bet. Regular containers are not enough for autonomous AI agents, and the vendor that owns both runtime isolation and tool governance gets to own the enterprise agent control plane.

Why regular containers break down for AI agents

Linux containers were built to package and isolate deterministic software written by humans. Standard containers share the host kernel and rely on namespaces and cgroups for separation. That works well for web services and CI pipelines where you mostly trust the code you built.

Autonomous coding agents (Claude Code, Codex, Gemini CLI, or custom tool-using loops) flip that threat model. An agent installs unvetted packages, runs arbitrary shell commands, edits files across a workspace, and reads external web pages or issue trackers that may carry prompt injections. Running agents directly on a developer laptop puts local SSH keys, cloud CLI sessions, and unrelated repositories one bad command away from exposure.

Putting the agent inside a standard Docker container narrows the filesystem blast radius, yet two major gaps remain. First, a container escape against the shared host kernel still compromises the machine. Second, coding agents routinely need to build images, spin up test databases, or run integration suites in containers. Mounting /var/run/docker.sock into an agent container hands it root-equivalent control over your host daemon.

Docker Sandboxes target both problems directly. Managed through the sbx CLI, each sandbox boots a dedicated microVM on native hypervisors (KVM on Linux, Hypervisor.framework on macOS, and Windows Hypervisor Platform on Windows). Every sandbox gets its own guest kernel, a scoped workspace directory, policy-controlled outbound network egress, and a private Docker daemon. An agent can run docker build or break its own test containers without touching the host kernel or the host Docker socket.

Approach Isolation boundary Safe nested Docker? Best fit
Bare metal laptop Host OS user Uses host daemon directly Trusted manual work; risky for autonomous agents
Standard container Shared host kernel (namespaces/cgroups) No (socket mount is root-equivalent) Deterministic services and trusted CI
Docker Sandbox (sbx) Dedicated microVM + private daemon Yes (isolated daemon inside microVM) Local and cloud autonomous coding agents
Cloud ephemeral sandbox Managed per-request sandbox (e.g., Cloud Run sandboxes) Usually no Serverless LLM code execution inside backend APIs

Isolation alone doesn’t stop a credential leak

Even inside a hardware-isolated microVM, an agent still needs to do real work: open pull requests, query staging databases, read tickets, or call internal APIs through Model Context Protocol (MCP) servers.

If production tokens live in local .env files or get injected straight into the agent’s environment, runtime isolation stops helping the moment the agent makes an authorized API call. We have already seen how fast an over-privileged agent can cause damage, from wiping a production database in seconds to leaking credentials after a prompt injection.

Docker AI Governance and the MCP Enterprise Gateway address that second half of the problem. Rather than letting developers wire up local community MCP servers with hardcoded tokens, Docker splits execution from authorization. Sandboxes trap untrusted code, shell commands, and container builds inside a throwaway microVM. The MCP Enterprise Gateway sits between AI clients and containerized MCP servers, authenticates users against the corporate identity provider, injects credentials dynamically so raw secrets never sit on a laptop or enter the LLM context window, and streams tool-call audit logs to a SIEM.

Architecture diagram showing Docker’s two-plane AI agent model: an Execution Plane running an AI coding agent, private Docker daemon, and scoped workspace inside an sbx microVM, sending secret-free MCP tool calls to an Authorization Plane powered by the MCP Enterprise Gateway with corporate IdP and Cedar ABAC checks, dynamic secret injection, containerized MCP servers, and SIEM audit logs.

For authorization rules, Docker chose Cedar, AWS’s open-source attribute-based access control (ABAC) language. Admins write policies specifying which teams, users, or clients can call specific MCP servers and individual tools. Picking Cedar over a proprietary policy syntax is a sensible engineering call: it supports formal analysis for permission conflicts and keeps policy logic decoupled from gateway binaries.

Docker’s business bet and its trade-offs

Look at the product split, and the commercial strategy is clear. Cloud providers and microVM startups (such as E2B, Daytona, Modal, and the other local and cloud options in my AI agent sandboxes directory) are rapidly commoditizing isolated code execution. Selling standard container tooling alone will not protect Docker’s position.

By making the sbx CLI and local microVM sandboxes free, Docker lowers the barrier to winning developer workstations while reserving its paid tier for the enterprise governance plane: centralized MCP routing, identity integration, Cedar policies, SIEM audit trails, and managed cloud sandboxes. For security teams trying to curb shadow AI without banning coding agents, that bundle solves a concrete headache.

AI engineers and platform teams should still weigh three practical trade-offs before standardizing on it:

  • Control-plane lock-in is real. Shops already standardized on Docker Desktop can adopt Docker’s MCP gateway with little friction, while Kubernetes-native or heterogeneous teams should think twice before tying agent authorization tightly to Docker’s management plane.
  • Cedar policy maintenance takes real operational work. Cedar reads better than legacy IAM JSON, yet writing granular per-tool ABAC policies is still a discipline security and platform teams have to learn, and policy checks sit on the hot path of every tool call during tight agent loops.
  • The MCP specification continues to move quickly. Centralized enterprise gateways frequently lag behind new transport and client features, which can slow down teams adopting newer agent capabilities.

I haven’t tested sbx or the MCP Enterprise Gateway in my own daily workflow yet, and I can’t wait to give them a try, especially for coding agents that need full Docker access without touching my host daemon. Dismissing this release because of a minimalist whale logo misses what actually changed: Docker is moving past plain containers to compete for the runtime and governance layer underneath autonomous agents.