---
title: "From Dockerfile to Kit: the Docker Sandboxes Kit Specification"
description: "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."
url: "https://swe.quest/articles/from-dockerfile-to-kit-the-docker-sandboxes-kit-specification-93930768c205623c"
canonical: "https://www.docker.com/blog/docker-sandbox-kit-spec/"
source: "Docker"
published: "2026-09-24"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 7
tags: ["sandboxing","containers","ai-agents","identity-auth","virtualization"]
---

# From Dockerfile to Kit: the Docker Sandboxes Kit Specification

A post on [Docker](https://swe.quest/sources/docker.md), published 2026-09-24, 7 min read, Announcement. Original: [https://www.docker.com/blog/docker-sandbox-kit-spec/](https://www.docker.com/blog/docker-sandbox-kit-spec/)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Sandboxing & isolation](https://swe.quest/tags/sandboxing.md) (Security)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [Virtualization](https://swe.quest/tags/virtualization.md) (Infrastructure)

## Prerequisites

- OCI images and registries ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- Dockerfiles
- container isolation basics ([easy posts on Sandboxing & isolation](https://swe.quest/tags/sandboxing.md?difficulty=easy))

## Keywords

Docker Sandboxes, Sandbox Kit Specification, OCI, sbx, microVM, MCP, Claude Code, GitHub CLI

## Related posts

- [Docker Sandboxes vs. Containers: Choosing the Right Isolation for AI Agents](https://swe.quest/articles/docker-sandboxes-vs-containers-choosing-the-right-isolation-for-ai-agents-9c74485ae65a1b1c.md): Docker · 2026-11-06 · Medium · 14 min read · Sandboxing & isolation, AI agents, Containers, Virtualization, Security
  Containers are isolated processes sharing the host kernel. Docker Sandboxes are microVMs with their own kernel, filesystem, network and private Docker Engine, designed for autonomous coding agents that accumulate state for hours and act on untrusted instructions.
- [Empty sandboxes break developer experience](https://swe.quest/articles/empty-sandboxes-break-developer-experience-babae52bb980a317.md): Docker · 2026-08-03 · Medium · 5 min read · Sandboxing & isolation, AI agents, Developer productivity, Identity & auth, Containers
  Docker Sandboxes kits turn empty, ephemeral agent sandboxes into usable dev environments by declaring in a spec.yaml what tools to install, files and env vars to add, which network domains are allowed, and which credentials to wire in.
- [The Trust Layer: Securing Agentic AI with Docker AI Governance](https://swe.quest/articles/the-trust-layer-securing-agentic-ai-with-docker-ai-governance-9c89f9faf160a05d.md): Docker · 2026-11-18 · Easy · 8 min read · AI agents, Sandboxing & isolation, Identity & auth, Supply chain security, Security
  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.
- [Why AI Agents Need Isolation](https://swe.quest/articles/why-ai-agents-need-isolation-2e7b1a6342af3236.md): Docker · 2026-07-01 · Easy · 9 min read · Sandboxing & isolation, AI agents, Virtualization, Containers, AI for coding
  AI coding agents that run commands, install packages and handle credentials should execute behind an isolation boundary rather than directly on the developer's host.
- [The Untrusted Autonomous Workload: How AI Coding Agents Reshape What Isolation Has to Do](https://swe.quest/articles/the-untrusted-autonomous-workload-how-ai-coding-agents-reshape-what-isolation-af433bee97ff8809.md): Docker · 2026-05-26 · Medium · 16 min read · Sandboxing & isolation, Virtualization, AI agents, Containers, Supply chain security
  AI coding agents are untrusted, autonomous workloads that containers were never designed to isolate, so Docker Sandboxes runs each agent in a microVM (custom VMM on Hypervisor.framework, WHP or KVM) with its own kernel and private Docker Engine.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
