7.3

From docker sandbox and cagent to sbx and docker-agent

Two renames and one CLI restructure changed every command in the 2025 and early 2026 material, and this section maps each old line to its current form.

A blog post from 2026-02-23 tells you to run docker sandbox run claude and to point the proxy at host.docker.internal:3128. A talk from 2025-09-24 shows cagent run agent.yaml and cagent push. On a machine with Docker Desktop 4.94.0, sbx 0.47.0, and docker-agent 1.149.0, neither command exists. When you finish this section, you can map any command from that material to its current form and name the version that changed it.

Two tracks and three removals

The sandbox product had four lives. The plan's timeline dates a container-based docker sandbox run to Docker Desktop 4.50.0 on 2025-11-06, and the preview blog followed on 2025-11-25. Desktop 4.58.0 replaced it with microVMs on 2026-01-26, and Desktop 4.61.0 bundled plugin v0.12.0 on 2026-02-18. That plugin is the one whose help this section quotes. The standalone sbx binary had its first public tag, v0.21.0, on 2026-03-31. Desktop 4.80.0 then ended the plugin on 2026-06-29:

No docker sbx command exists in any help tree, and the binary is sbx (conflict C1).

The agent product had three names. It launched as cagent with a blog on 2025-09-18, and Desktop 4.49.0 bundled it on 2025-10-23. The Desktop notes for 4.49.0 now use the current name, Docker Agent. The agent docs say that Docker Desktop 4.49 to 4.62 called the feature cagent, and the docker agent plugin arrived with v1.23.3 on 2026-02-16.

Version 1.23.4 restructured the commands three days later, and v1.30.0 finished the rename on 2026-03-09. The docs date Docker Agent in Desktop to 4.63, while the first release note that names it is 4.64.0 with v1.27.1 (conflict C49). Desktop 4.81.0 removed the deprecated cagent binary on 2026-07-06. Desktop 4.94.0 bundles Docker Agent v1.144.0, five releases behind the v1.149.0 binary this manual pins. Many Desktop notes state no bundled version at all (conflict C50).

Fig. 7.3two product tracks from 2025-09 to 2026-10timeline
Two product tracks from 2025-09 to 2026-10 Two tracks over one date axis from 2025-09 to 2026-10. The sandboxes track shows the docker sandbox plugin as a grey bar from 2025-11-06 to its removal in Desktop 4.80.0 on 2026-06-29, and sbx as a blue bar from v0.21.0 on 2026-03-31 to v0.47.0 on 2026-10-05. The agent track shows cagent as a grey bar from the 2025-09-18 launch blog to its removal in Desktop 4.81.0 on 2026-07-06, and docker-agent as a violet bar from the v1.23.3 plugin on 2026-02-16 to v1.149.0 on 2026-10-07. Rose lines mark three removals: the socket mount with Desktop 4.58.0, the plugin with 4.80.0, and the cagent binary with 4.81.0. A numbered key lists all twelve events. SANDBOXES docker sandbox plugin sbx AGENT cagent docker-agent 2025-09 2025-12 2026-03 2026-06 2026-09 1 2 3 4 5 6 7 8 9 10 11 12 KEY 1 2025-09-18: cagent launch blog, the public repo dates from 2025-09-01 2 2025-10-23: Desktop 4.49.0 bundles the agent, later renamed in the notes 3 2025-11-06: Desktop 4.50.0, container-based docker sandbox run (plan timeline) 4 2026-01-26: Desktop 4.58.0, microVM sandboxes, --mount-docker-socket gone 5 2026-02-16 and 02-19: v1.23.3 docker agent plugin, v1.23.4 restructure 6 2026-02-18: Desktop 4.61.0 bundles plugin v0.12.0, the legacy help quoted here 7 2026-03-09: v1.30.0 completes the rename to docker-agent, CAGENT_* still read 8 2026-03-31: v0.21.0, the first public standalone sbx tag 9 2026-06-29: Desktop 4.80.0 removes the docker sandbox plugin 10 2026-07-06: Desktop 4.81.0 removes the cagent binary 11 2026-09-21: v0.45.0 adds sbx --cloud and v3 kits 12 2026-10-05 and 10-07: v0.47.0 and v1.149.0, the pin of this manual
Each old name survived its successor for months, and Docker Desktop removed the two of them one week apart, on 2026-06-29 and 2026-07-06. Read left to right on one date axis. Grey bars are the old names, blue and violet bars the current ones, and rose lines mark the three removals. The numbered key below names each event with its version.

The old command trees

the docker sandbox plugin, v0.12.0textFull log
Management Commands:
  create      Create a sandbox for an agent
  network     Manage sandbox networking

Commands:
  exec        Execute a command inside a sandbox
  ls          List VMs
  reset       Reset all VM sandboxes and clean up state
  rm          Remove one or more sandboxes
  run         Run an agent in a sandbox
  save        Save a snapshot of the sandbox as a template
  stop        Stop one or more sandboxes without removing them
  version     Show sandbox version information
…
      --bypass-cidr string   Bypass MITM proxy for an IP range in CIDR
                             notation (can be specified multiple times)
      --bypass-host string   Bypass MITM proxy for a domain or IP (can be
                             specified multiple times)
…
      --policy allow|deny    Set the default policy
The root help and the proxy flags, recorded on 2026-10-08 from the plugin that Desktop 4.61.0 bundled. The create, exec, and save sections are cut.
the docker agent plugin, v1.32.4textFull log
Core Commands:
  new         Create a new agent configuration
  run         Run an agent
  share       Share agents

Advanced Commands:
  alias       Manage aliases
  eval        Run evaluations for an agent
  serve       Start an agent as a server
…
      --sandbox                   Run the agent inside a Docker sandbox (requires Docker Desktop with sandbox support)
…
      --template string           Template image for the sandbox (passed to docker sandbox create -t)
…
      --yolo                      Automatically approve all tool calls without prompting
The root help and three run flags, recorded on 2026-10-08. The global flags already name the cagent directories.

Beside them, the v0.47.0 tree in the captured sbx help groups policy, secret, template, and mcp under Management Commands, and network and save are gone. The v1.149.0 tree in the captured docker-agent help adds setup, doctor, models, toolsets, sessions, debug, sandbox, and serve chat, which Part 5 covers.

The command map

Old command or habitWhere it appearsStopped being trueDo this now
docker sandbox run <agent>Desktop docs, blogs, videosDesktop 4.80.0, 2026-06-29sbx run <agent>
docker sandbox run --mount-docker-socket kirore:Invent blog, 2025-12-12Desktop 4.58.0, 2026-01-26nothing: every sandbox has a private Docker Engine
--load-local-templateDesktop 4.58 to 4.60Desktop 4.61, 2026-02-18sbx template load FILE, then --pull never -t TAG
--pull-template missing, the defaultplugin v0.12.0v0.21.0, 2026-03-31--pull always, missing, or never, default always
docker sandbox create cagent .plugin v0.12.0, blog 2026-03-11Desktop 4.80.0sbx create docker-agent ., and cagent remains an alias
docker sandbox network proxy S --allow-host api.example.comlegacy docs, blog 2026-02-23Desktop 4.80.0sbx policy allow network api.example.com --sandbox S
--bypass-host, --bypass-cidrplugin v0.12.0Desktop 4.80.0no replacement in the v0.47.0 help, see the capture
docker sandbox network log --jsonlegacy docsDesktop 4.80.0sbx policy log S --json
docker sandbox save S TAG into host Dockerplugin v0.12.0, blog 2026-02-23Desktop 4.80.0sbx template save S TAG -o FILE into the sandbox runtime's own store
docker sandbox exec -dplugin v0.12.0sbxsbx exec -d is "not supported"
names with _, +, or .plugin v0.12.0v0.43.0, 2026-09-152 to 63 characters, letters, digits, hyphens, periods, and no periods with --cloud
a proxy set by hand at host.docker.internal:3128blogs 2026-02-23 and 2026-05-26sbxnothing: the daemon sets gateway.docker.internal:3128, see the capture
API keys in ~/.zshrc, then restart Desktoptutorials before 2026-07v0.35.0, 2026-07-10sbx secret set SERVICE or sbx secret import
sbx run claude --branchblog 2026-05-26, videosv0.31.0, 2026-05-28sbx run claude --clone
kit v1 grammar, schemaVersion: "1", network.allowedDomainsblog 2026-08-03v2 on 2026-09-09, v3 on 2026-09-24v2 spec.yaml for sbx kit, v3 kit.yaml with # syntax=docker/sandbox-kit:3
sbx mcp catalogdocs before 0.45.0v0.45.0, 2026-09-21sbx mcp add --url URL
sbx mcp enable github-officialproduct page, 2026-10-07never existedsbx mcp add, then --static-mcp or sbx mcp load
-p 3000:8080 binds IPv4 and IPv6before v0.42.0v0.42.0, 2026-09-07tcp4 by default, write 3000:8080/tcp for both
kits from any registrybefore v0.34.0v0.34.0, 2026-06-26add the prefix to kit.allowedSources
a relative --command ./helper secret sourcedocs before v0.46.0v0.46.0, 2026-09-28an absolute path outside writable sandbox mounts
Windows 10early 2026v0.35.0, 2026-07-10Windows 11 with Windows Hypervisor Platform
Toolkit gateway at host.docker.internal:8811, five manual stepsre:Invent blog, 2025-12-12v0.38.0, 2026-08-06sbx mcp add and sbx mcp load, the Toolkit gateway is separate
"one sandbox per workspace"blog 2026-03-11sbx names default to <agent>-<workdir>--name for a second sandbox on one directory, see the capture
cagent run agent.yaml, cagent new, cagent exec2025 blogs and talksv1.23.4, 2026-02-19, and Desktop 4.81.0docker agent run, docker agent new, docker agent run --exec
cagent push, cagent pull, cagent acp, api, mcp, a2a2025 blogsv1.23.4docker agent share push and pull, docker agent serve acp, api, mcp, a2a
cagent config, feedback, build, catalog2025 to early 2026v1.23.4removed, and the catalog is the Hub namespace agentcatalog/*
cagent version, brew install cagentblog 2025-11-13v1.30.0 and Desktop 4.81.0docker agent version, brew install docker-agent, winget install Docker.Agent
"Docker Agent v2.x renamed the CLI"a third-party tutorialnever truethe latest tag is v1.149.0
docs.docker.com/ai/cagent/blog 2026-03-11, old linksv1.30.0docs.docker.com/ai/docker-agent/
CAGENT_MODELS_GATEWAY, CAGENT_CONFIG_DIR, CAGENT_PPROF_ADDRolder docs and issuesv1.30.0, still acceptedDOCKER_AGENT_MODELS_GATEWAY, DOCKER_AGENT_CONFIG_DIR, DOCKER_AGENT_PPROF_ADDR
docker/sandbox-templates:cagentlegacy agent pagethe renamedocker/sandbox-templates:docker-agent
docker cp the agent binary into a sandbox, then agent run dev-team.yaml insideblog 2026-03-11the docker-agent templatesbx run docker-agent . or docker agent run --sandbox agent.yaml
--yoloeverywherestill accepted--safety autonomous, of which --yolo is the alias
the eval judge is a paid Anthropic modelv1.32.4 helpv1.147.0, 2026-10-05default openai/gpt-5.6-terra, or any provider/model
--sandbox needs Docker Desktop with sandbox supportv1.32.4 helpsbx--sbx defaults to true, and --sbx=false has no target after Desktop 4.80.0
mcp-gateway v0.22.0 in the GitHub Actionthe action's defaultsthe repository is at v0.44.1pin the gateway version yourself

The rows restate the register's stale-advice list S1 to S30 and the plugin rows C107 to C112, which the sources section prints in full.

What kept the old name

The rename did not touch the directories. docker-agent --help still defaults --data-dir to ~/.cagent, --config-dir to ~/.config/cagent, and --cache-dir to ~/Library/Caches/cagent. The v1.32.4 plugin printed the same three values, and the debug log stays at ~/.cagent/cagent.debug.log (conflict C54). The CAGENT_* variables are still read next to DOCKER_AGENT_*.

The OCI annotation became io.docker.agent.version with the old name kept. The Hub image moved from docker/cagent to docker/docker-agent, and the image keeps cagent as a symlink. In sbx, cagent remains an alias of the docker-agent create subcommand.

Sandbox state did not migrate. The plugin kept VM state under ~/.docker/sandboxes/vm/ and an image cache under ~/.docker/sandboxes/image-cache/, as its own reset help says. sbx keeps its socket and log under ~/Library/Application Support/com.docker.sandboxes/sandboxes/sandboxd/ (the capture), and no page describes a migration (conflict C17). No capture lists the leftover directories.

On Desktop 4.94.0, docker info still lists the plugin as sandbox v0.13.0 (29-docker-plugins.txt), and each of its commands prints the removal notice:

docker sandbox on Docker Desktop 4.94.0textFull log
$ docker sandbox --help
"docker sandbox" is deprecated and has been removed.

Please migrate to Docker Sandboxes: https://www.docker.com/products/docker-sandboxes
[exit 1]
docker sandbox version prints the same notice and is cut.

The notice names the product page, not the docker sbx of the 4.80.0 note. On the same host, the bundled docker agent version prints v1.144.0 and the Homebrew docker-agent version prints v1.149.0 (29-docker-agent-plugin.txt).

Docker Sandboxes (sbx) and Docker Agent (docker-agent) sbx 0.47.0, docker-agent 1.149.0 · bf4169c · 2026-10-07 · Edition 2026.10