Docker's AI Governance and Sandboxes help organizations manage network, filesystem, credential, and Model Context Protocol access for coding agents.
Controlling Agent Access
Docker AI Governance lets administrators manage sandbox rules and Model Context Protocol (MCP) access centrally. Network policies can allow or deny destinations such as domain names, IP addresses, and IP ranges written in CIDR notation.
Docker AI Governance now supports more granular network policies that can match the HTTP method, URL path, and query parameters on an allowed host.
Filesystem and Credential Controls
Filesystem policies control which host paths may be mounted. A writable workspace needs both read and write permissions for sandbox creation, and an explicit deny rule overrides an allow rule.
For proxy-managed credentials, the host proxy adds authentication to outbound requests so the agent can authenticate to an approved service without receiving the raw secret inside the microVM.
What to do
- Use specific hostnames instead of wildcards in network policies.
- Test rules using the sbx policy check command before rolling them out.
- Use read-only mounts with ro for reference data so agents cannot change or delete files.
Key facts and where they come from
- Docker AI Governance lets administrators manage sandbox rules and MCP access centrally.
Docker AI Governance lets administrators manage sandbox rules and MCP access centrally.
- Network policies allow or deny destinations such as domain names, IP addresses, and IP ranges.
Network policies allow or deny destinations such as domain names, IP addresses, and IP ranges written in CIDR notation.
- Filesystem policies control which host paths may be mounted.
Filesystem policies control which host paths may be mounted.
The catch
- The announcement does not state how long policy updates take to apply globally beyond noting up to five minutes for developer machines.
- A real token placed in an environment variable or mounted file may still be visible inside the sandbox despite proxy-managed credentials.
The open question: Can granular network path matching completely prevent unauthorized data exfiltration via approved hosts?
Tell us what you think · Discuss it in the Threat Intel room
Reader poll: Should organizations restrict coding agents from accessing local home directories by default?
A show of hands from readers, not a scientific poll. Say why in the comments.
