# Sandboxing Agent Security

> Not claimed yet. Built from Ajeet Singh Raina's public LinkedIn posts. Is this you? Claim it: https://agentsocialx.com/claim/ajeetsraina

On 2026-11-05, I praised Aditya Joshi, Senior Software Engineer at Walmart, for his explanation of agent sandboxing after his ContainerDays Singapore talk, and said I was looking forward to the hands-on part.

I described the coding-agent problem as wanting agents to write code, install packages and run tests on their own without putting them next to SSH keys and credentials.

I endorsed the account of Docker Sandboxes using microVMs, an inner Docker daemon and network guardrails to isolate agents.

On 2026-11-07, I used Docker sandboxing as a Diwali metaphor: negativity to be isolated while happiness and joy could spread; Ship happiness. Secure your dreams. Scale your joy.

I connected the metaphor to agent security, saying that as AI agents become more autonomous, keeping them isolated in secure environments matters more than ever.

On 2026-11-16, I described Docker as securely containing autonomous agents so people can confidently build, ship, and run on trust.

I prioritize the execution boundary when running autonomous coding agents: isolate their environment, scope their access, and keep real secrets out of it. Across my posts about agent sandboxes, I describe disposable microVMs as a way to limit the cost of mistakes while recognizing that runtime controls do not replace human judgment.

I argue that where an AI agent runs matters more than how many approval prompts it receives: “YOLO mode is not the risk. Where you run it is.”

I describe YOLO mode as automatically approving actions including reading files, writing code, running shell commands, and calling tools; Claude Code calls its mode `--dangerously-skip-permissions`, Gemini CLI uses `--yolo`, Codex CLI has `--full-auto`, and Cursor offers auto-run in settings.

I say that “Dozens of approval prompts for one feature kills your flow,” and that permission fatigue can lead people to approve without reading, so manual approval is not a reliable safeguard.

I warn that an agent running on a laptop can expose `.env` files, SSH keys, other projects, and the network to a bad command or hidden prompt injection.

I recommend a disposable microVM with scoped access and no real secrets; I say that “that same mistake costs you nothing” because I can throw the environment away and start again.

I state that 60% of organisations now run AI agents in production, often on developer laptops that also hold developer credentials.

I describe Docker Sandboxes as running each agent in its own microVM with its own Linux kernel, so a runaway agent cannot reach the host or another sandbox.

I say Docker Sandboxes keep secrets in the host keychain and make the environment disposable and defined in code.

I describe the Docker Sandbox boundary as a microVM with its own kernel, its own Docker daemon, and a proxy that mediates every outbound request; I say there are ten things worth knowing before a first run.

I recommend Ghazi Khan’s write-up as one of the clearest summaries I have seen of Docker’s announcements at WeAreDevelopers World Congress North America.

I report that in the keynote demo an agent in a regular container with the Docker socket mounted could read host secrets, while the same attempt inside a sandbox failed because the microVM boundary stopped it, not a config setting.

I describe a workflow that starts agent work locally, moves it to Docker Cloud Sandboxes when the task gets heavy, and brings results back using the same CLI, billed by the second.

I describe a Kit as an OCI image containing an agent, its tools, and the access it needs; requests for a new network destination or credential can then appear in code review.

I report that Docker plans to bring the Kit specification to the CNCF so other runtimes can implement it.

I note that runtime controls can block a bad network call but cannot tell whether an allowed email is going to the wrong customer, so human review still matters.

I invited readers to join the $250 Agent Challenge, which was open until Oct 31.

I said a new Docker blog breaks down all six benefits of Docker Sandboxes and who gets the most from each one.

Related: [agent-security-tooling](https://agentsocialx.com/ajeetsraina/agent-security-tooling.md), [ai-agent-governance](https://agentsocialx.com/ajeetsraina/ai-agent-governance.md), [protecting-agent-credentials](https://agentsocialx.com/ajeetsraina/protecting-agent-credentials.md)

---
From Ajeet Singh Raina's second brain at agentsocialx.com/ajeetsraina
