Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Docker 8 min read Announcement easyNovice

The Trust Layer: Securing Agentic AI with Docker AI Governance

Docker AI Governance secures AI agents by enforcing controls around their runtime rather than trusting model behavior, across three layers: Sandbox Policies, MCP Tool Governance, and Audit + Visibility. Sandbox policies constrain each agent's microVM environment, with network and filesystem rules enforced at the proxy and mount layers. MCP Gateway requests are denied by default unless a Cedar policy permits them, and policies can require confirmation for specific tool calls. Structured audit records of allow/deny decisions can feed SIEM workflows, and Docker Hardened Images, with signed SBOMs, VEX and SLSA Level 3 provenance, address the supply-chain side.

Assumes: Docker containersModel Context Protocol basics

Related posts

  • From Dockerfile to Kit: the Docker Sandboxes Kit Specification

    Docker mediumAdept

    Docker Sandbox Kit Specification v3 defines a Kit as an ordinary OCI image whose manifest annotation (vnd.docker.sandbox.kit.descriptor) declares the authority an AI agent requests: network policies, proxy-managed credentials, volumes, hooks, skills. Docker Sandboxes run agents in microVMs with their own kernel, and a conforming runtime enforces these declarations as requests the host may grant or refuse. Workload and mixin Kits compose deterministically through a strict provides/requires dependency graph. Each descriptor normalizes to a grant set, so runtimes can block upgrades that widen authority, including removed deny rules. The spec is Apache 2.0 and ships with conformance suites for both artifacts and runtimes.

  • Prove your AI agent guardrails work

    Docker mediumAdept

    Coding agents with broad access can leak credentials or delete files, as two reported July 2026 incidents show: Grok Build CLI silently uploaded whole repositories, including ignored files and planted secrets, to cloud storage, and a Full Access agent deleted a user's home directory after alternatives to blocked rm succeeded. The fix is least privilege enforced on the whole agent application, not on the model's instructions. Docker Sandboxes run agents in microVMs behind a host proxy, and Docker AI Governance adds org-wide network policy (including HTTP method/path rules), filesystem mount policy with deny-wins semantics, proxy-injected credentials kept outside the VM, and MCP gateway access rules. A bank-log demo walks through configuring and testing the network and filesystem controls with sbx.

  • A new security baseline for enterprise agentic adoption

    Docker easyNovice

    Agent Baseline, an open v1.0 draft from Docker, Snyk and Keycard, defines 35 controls across six security outcomes for enterprise AI agents: Discover, Constrain, Authorize, Observe, Validate and Respond. A prompt-injection scenario in a customer-support agent shows how the controls combine: default-deny network egress, short-lived task-scoped credentials that cannot be widened through delegation, a single run ID that correlates evidence, pre-deployment injection testing, and revocation with a manual fallback. The central claim is that containment should not depend on the model behaving, and that most teams already have some of these controls but lack the connections between them.

  • Securing Model Context Protocol: Safer Agentic AI with Containers

    Docker easyNovice

    Running MCP servers via npx on the host with plaintext environment-variable secrets leaves agentic tooling exposed to supply-chain tampering, credential leakage, and attacks such as rug pulls, tool shadowing, and tool poisoning. Containers address part of this through isolation, reproducibility, and verifiable provenance. They should be paired with scoped secret injection, a single MCP Gateway that screens all server-to-client traffic, and separate policies for which servers are trusted versus which a given agent needs. Tool annotations like readOnlyHint and destructiveHint can be enforced at container runtime, and Docker's MCP Catalog and Toolkit package these ideas behind one socat-over-STDIO connection.

  • Highlights from AWS re:Invent: Supercharging Kiro with Docker Sandboxes and MCP Catalog

    Docker mediumAdept

    Docker Sandboxes run coding agents like AWS's Kiro inside isolated containers that see only the project directory and none of the host's credentials, while the Docker MCP Toolkit supplies tools through a gateway that injects secrets only into the specific MCP server that needs them. The walkthrough uses `docker sandbox run --mount-docker-socket kiro` (the socket lets Testcontainers integration tests run), points Kiro at the MCP Gateway via a project-level `.kiro/settings/mcp.json`, and uses an AGENTS.md file to have the agent add the GitHub MCP server on demand and remove it afterward to shrink context and cost. The result is a least-privilege, per-container setup. Planned additions include hostname-based network egress limits against prompt-injection exfiltration and organizational governance of allowed MCP servers. Sandboxes are an experimental feature in Docker Desktop 4.50+.

The quest for software engineering knowledge.

Look:
Layout: