Docker and Sandboxing AI Agents
Episode
50 min
Read time
2 min
Topics
Artificial Intelligence, Software Development, Product & Tech Trends
AI-Generated Summary
Key Takeaways
- ✓Micro VM vs. Container Security Boundary: Standard Docker containers share the host kernel via Linux namespaces, creating a weak boundary for untrusted agent code. Micro VMs emulate hardware and run a dedicated kernel, making breakout significantly harder. Docker Sandboxes boot a dedicated micro VM per agent session in under 700 milliseconds on laptop, under 100 milliseconds in cloud deployments.
- ✓Credential Proxying Architecture: Docker Sandboxes never expose real credentials inside the VM. A placeholder token replaces the actual secret, and an external HTTP proxy intercepts outbound calls, swaps in the real credential, then sanitizes the response before returning it to the agent. This prevents secret exfiltration even in full YOLO autonomous mode, though the agent retains functional service access.
- ✓Immutability Assumption Breaks for Agents: Containers were built around immutability — Kubernetes drift detection flags any runtime change as a problem. Coding agents fundamentally violate this by downloading packages, writing temp files, and modifying their environment at runtime. Sandboxes replace immutability with a controlled mutation boundary: agents can mutate freely inside the VM while the host remains protected.
- ✓Network Egress Control via L4 Proxy: Each sandbox includes an L4-terminating network proxy that enforces configurable allow or deny lists on all outbound traffic. Teams can block exfiltration of sensitive data to arbitrary endpoints while permitting necessary API calls. Enterprise deployments add MCP-level controls preventing financial or personnel data from ever reaching external model providers like Anthropic.
- ✓Agent Governance at Team Scale: Docker's commercial AI governance package lets platform and security teams define centralized policies covering which agents employees can run, which MCP tools are permitted, and what data categories can leave the environment. This addresses the enterprise rollout problem where boards demand rapid Claude deployment but security teams need deterministic controls across thousands of developer workstations simultaneously.
What It Covers
Docker COO Mark Kavage explains Docker Sandboxes, a new product using micro VMs to isolate AI coding agents like Claude Code and OpenClaw. The episode covers why standard containers fail for agentic workloads, how micro VMs differ architecturally, credential proxying mechanics, and the unsolved challenge of scoped data access controls.
Key Questions Answered
- •Micro VM vs. Container Security Boundary: Standard Docker containers share the host kernel via Linux namespaces, creating a weak boundary for untrusted agent code. Micro VMs emulate hardware and run a dedicated kernel, making breakout significantly harder. Docker Sandboxes boot a dedicated micro VM per agent session in under 700 milliseconds on laptop, under 100 milliseconds in cloud deployments.
- •Credential Proxying Architecture: Docker Sandboxes never expose real credentials inside the VM. A placeholder token replaces the actual secret, and an external HTTP proxy intercepts outbound calls, swaps in the real credential, then sanitizes the response before returning it to the agent. This prevents secret exfiltration even in full YOLO autonomous mode, though the agent retains functional service access.
- •Immutability Assumption Breaks for Agents: Containers were built around immutability — Kubernetes drift detection flags any runtime change as a problem. Coding agents fundamentally violate this by downloading packages, writing temp files, and modifying their environment at runtime. Sandboxes replace immutability with a controlled mutation boundary: agents can mutate freely inside the VM while the host remains protected.
- •Network Egress Control via L4 Proxy: Each sandbox includes an L4-terminating network proxy that enforces configurable allow or deny lists on all outbound traffic. Teams can block exfiltration of sensitive data to arbitrary endpoints while permitting necessary API calls. Enterprise deployments add MCP-level controls preventing financial or personnel data from ever reaching external model providers like Anthropic.
- •Agent Governance at Team Scale: Docker's commercial AI governance package lets platform and security teams define centralized policies covering which agents employees can run, which MCP tools are permitted, and what data categories can leave the environment. This addresses the enterprise rollout problem where boards demand rapid Claude deployment but security teams need deterministic controls across thousands of developer workstations simultaneously.
Notable Moment
Kavage described a Reddit post where an OpenClaw user ran an autonomous agent to handle grocery shopping for four months without incident — until it ordered 50 pounds of garlic in a single session. He used this to illustrate why scoped, semantic data-access controls remain unsolved across the entire industry.
Episode Transcript
The most useful coding agents can mutate their environments by downloading packages, writing files, and connecting to services across the network. However, that freedom also presents dangers and promises to usher in a new wave of security threats. Docker recently announced Docker Sandboxes, which gives each agent its own isolated micro VM while preserving the familiar ergonomics of a container. A standard container shares the host's kernel, but a micro VM emulates hardware and runs its own kernel, giving a stronger security boundary around code that cannot be trusted. Mark Kavage is the president and COO of Docker, and he previously worked at companies including Stripe, AWS, and Oracle. In this episode, Mark joins Gregor Van for a wide ranging conversation that includes why agents break the immutability assumptions containers were built on, how micro VMs differ from both containers and traditional VMs, and the still unsolved challenge of giving agents scoped trustworthy access to sensitive services and data. Gregor Vann is a security focused technologist, having previously been a CTO across cybersecurity, cyber insurance, and general software engineering companies. He is based in Singapore and can be found via his profile at van.hk or on LinkedIn. Hello and welcome to Software Engineering Daily. My guest today is Mark Kabbage. Thank you for coming on today, Mark. Yeah. Thanks for having me. It's great to be here. Yeah. So super exciting. You're the president at Docker. And Docker, I'm sure a lot of our audience know pretty intimately. We'll get into what Docker is for those that don't know in a second as well. As we like to do, you've had a pretty, like, storied history in the tech world or through tech companies. Could you just give us, like, a kind of a brief story of how you got all the way to Docker? Absolutely. Well, it's a funny story. There's two other characters here, Don and Tushar. We were part of the let's call it generation one of Amazon Web Services back in 2005. Oh, wow. And we're all OfficeMates back when AWS was, I don't know, somewhere around a 100 to 200 people, somewhere in there. I don't time all blurs it together. We've gone off and done different things over the years. We had also gone to Oracle and built Oracle's cloud, which was I always tell people it's a weird thing to do voluntarily, but we did that. At some point in the last couple of years, Docker was looking for new leadership. And as I was joking, fortunately for Docker, they found us. And so Tushar had found his way to Docker 2.5 ago, three years ago. And then as the band of Merry Brothers do, sort of called on as friends and here we are. So then Don and I joined February of last year. Yeah. Let's start with Docker is and then actually might just kind of pull back for a second after that. But, yeah, what is Docker full stop for …
Get the full transcript (11,366 words) + summary by email — free
One-time email with the complete transcript and AI summary of this episode. No account needed.
One email, no spam. We’ll also show you what SignalCast does.
You just read a 3-minute summary of a 47-minute episode.
Get Software Engineering Daily summarized like this every Monday — plus up to 2 more podcasts, free.
Pick Your Podcasts — FreeKeep Reading
More from Software Engineering Daily
A Rust Framework to Simplify Distributed Systems
Sep 10 · 50 min
David Senra
Mati Staniszewski on ElevenLabs, Voice AI & Building the Communication Layer for AI
Sep 9
More from Software Engineering Daily
SED News: The NVIDIA-Hugging Face Deal, China’s Proxy Economy, the Open Weight Surge
Sep 8 · 52 min
This Week in Startups
Dr. Mark Hyman on Function Health & GLP-1 microdosing | E2334
Sep 4
Books, tools, and gear mentioned in this episode
SignalCast may earn commission on purchases via these links. As an Amazon Associate, SignalCast earns from qualifying purchases.
Tools
“Docker Sandboxes, a new product using micro VMs to isolate AI coding agents like Claude Code and OpenClaw.”
“Docker Sandboxes, a new product using micro VMs to isolate AI coding agents like Claude Code and OpenClaw.”
Products
- Docker SandboxesBy guest
by Docker
“Docker COO Mark Kavage explains Docker Sandboxes, a new product using micro VMs to isolate AI coding agents like Claude Code and OpenClaw.”
More from Software Engineering Daily
We summarize every new episode. Want them in your inbox?
A Rust Framework to Simplify Distributed Systems
SED News: The NVIDIA-Hugging Face Deal, China’s Proxy Economy, the Open Weight Surge
Moving Beyond RAG with Precomputed Context
The Death of Online Anonymity
TypeScript 7 and What Comes Next
Similar Episodes
Related episodes from other podcasts
David Senra
Sep 9
Mati Staniszewski on ElevenLabs, Voice AI & Building the Communication Layer for AI
This Week in Startups
Sep 4
Dr. Mark Hyman on Function Health & GLP-1 microdosing | E2334
Odd Lots
Sep 4
Why Laser Beams Are the Hottest New Tech in Defense
How I AI
Aug 24
I spent $20,000 on Devin in a month. Here’s what I learned | Ryan Carson (solo founder)
The Vergecast
Jul 2
The video game disc is dead
Explore Related Topics
This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.
Read this week's AI & Machine Learning Podcast Insights — cross-podcast analysis updated weekly.
You're clearly into Software Engineering Daily.
Every Monday, we deliver AI summaries of the latest episodes from Software Engineering Daily and 192+ other podcasts. Free for one show.
Start My Monday DigestNo credit card · Unsubscribe anytime