Docker has introduced Docker Sandboxes, a specialized environment designed to allow AI agents to operate autonomously within secure, disposable boundaries. Unlike standard containers that share a host kernel, these sandboxes utilize a proprietary microVM architecture, providing each instance with its own kernel and a private, internal Docker Engine. This design enables agents to perform complex tasks like building images and running Compose files without requiring elevated privileges or the security risks associated with Docker-in-Docker. The system supports seamless mobility via the "sbx move" command, which synchronizes the sandbox filesystem between local machines (macOS, Windows, Linux) and the cloud without changing the isolation model. For organization-wide deployment, "Kits" allow developers to declaratively apply specific tools, network rules, and scoped credentials via YAML. Pricing for cloud-based sandboxes scales with resource allocation: Micro instances (1 vCPU, 2 GB RAM) cost $0.07 per hour, while larger XL configurations (16 vCPUs, 32 GB RAM) cost $1.12 per hour. The platform is compatible with various agents, including Claude Code, Cursor, and Devin, and offers enterprise-grade governance to manage network and filesystem policies across an organization.
Read original
hackernews