Docker Sandboxes release notes
This page lists changes in recent stable releases of Docker Sandboxes. For the full release history, including pre-releases and downloads, see the Docker Sandboxes releases on GitHub.
0.51.0
2026-11-03Highlights
Docker Sandboxes v0.51.0 runs built-in agents from published kits and adds custom mount targets for additional workspaces, environment launch command defaults, and more controls for automation. It also strengthens workspace-copy and credential protections and improves network, MCP, and sandbox startup reliability.
Breaking changes
Built-in agents and shell images
Built-in agent names now resolve to published kits at docker.io/sbx/<name>:latest. This applies to Claude, Codex, Cursor, Devin, Docker Agent, OpenCode, Kiro, Copilot, and Droid. sbx run sbx/<kit> also accepts published kits, including kits named after built-in agents. The kit.allowExtractedAgents setting is removed.
- Sandboxes created by earlier releases from embedded Claude or Codex specifications keep running, but must be recreated before using
sbx kit add,sbx run --model, orsbx move. Save files and unpushed commits before removing a sandbox. - The shell agent now uses a published Debian 13 v3 kit. First use requires registry access. To provide shell sandboxes with provider credentials, add the
shell-credentialsmixin. Existing shell sandboxes keep running. - V1 and v2 kits cannot be combined with v3 kits. Upgrade older mixins to v3 before combining them with the new built-in kits.
- The
docker/sandbox-templatesimages forcodex,cursor-agent,devin,docker-agent, andopencode, including their-dockervariants, are no longer published. - The
docker/sandbox-templates:shelland:shell-dockerimages are no longer refreshed. For custom workloads, usedocker.io/sbx/shell-imageanddocker.io/sbx/shell-docker-image.
Clipboard access and custom secrets
- Copying text from a local sandbox to the host clipboard now requires opting in with the
clipboard.textCopysetting. Native clients such as Codex are supported. - Custom secrets without destination hosts no longer substitute credentials. Repair existing mappings by adding explicit destination hosts while preserving their placeholders and other settings.
What's new
Security
sbx cpblocks symbolic links in mounted directories from escaping onto other host paths. On Windows, it also blocks workspace escapes through substituted drives.- Unix clients verify that daemon sockets belong to the same account before sending requests.
sbx kit signno longer runs configured Git filter drivers while checking signed file contents. Its recovery guidance preserves committed bytes even when repository attributes request line-ending conversion.- Files replaced by Sandboxes on Windows retain their existing access control lists.
- Network policy commands reject empty
--sandboxvalues instead of applying changes globally.
Kits and agents
sbx kit addinstalls added image content in all-v3 sandboxes while preserving filesystem changes.sbx run --modelgenerates a v3 model kit when the base uses v3.sbx kit inspect --resolvedshows the kit with itsextendsparent merged in.- Kit installation logs are saved inside the sandbox at
/var/log/sbx-kits/<kit>/install-<n>.log. Progress shows command descriptions, and debug mode streams successful installation output and the startup log. Failed startup commands produce a warning with the log tail instead of failingsbx run. - Kits can request publication of a host-loopback port when granted the required permission. Each request requires user approval and expires after 45 seconds.
- Kits declaring
agent-context@2guidance work with local and cloud sandboxes, including when they also offeragent-context@1. - Optional kit credentials no longer prevent creation when absent. Kit changes after a daemon restart preserve stored Bedrock profiles, and recovery after a failed kit change preserves access to shared skills.
- Shell kits support custom templates, and v3 kits load correctly when their descriptor is named
spec.yaml. - Docker Hardened Images (DHI) kits are accepted by the default kit source allow list.
- GitHub Copilot authentication works when the GitHub secret is stored with
--commandor as a reference.
Sandbox lifecycle and workspaces
- Additional workspaces accept
PATH:TARGET[:ro]withsbx createandsbx run. Environment files support the same custom targets throughadditionalWorkspaces[].target. sbx run --workdirstarts the agent in a directory inside the workspace, including when reattaching to an existing sandbox.- Environment files support
entrypointandcmddefaults forsbx env run. Command-line arguments can replace the default command.sandboxOptionsalso acceptsrootSize,dockerSize, andclonedWorkspaceSize. - Interactive
sbx env execoffers to create a missing environment sandbox. Interactivesbx env runcan adopt a matching existing sandbox when its environment records have been lost, after confirmation. - New local sandboxes support FUSE filesystems, controlled through
sandbox.fuseand the environment optionsandboxOptions.fuse. - Sandbox memory limits can be set up to the host's total memory, with a warning above 75%.
- Workspace, clone, kit-volume, and mount targets that would hide the shared skills store are rejected before creation or modification. Startup also explains how to recover when a file occupies the shared skills directory.
sbx inspectshows the Sandboxes version that created a sandbox, for sandboxes created with this release onward.sbx ls,sbx inspect, andsbx prune --dry-runJSON include configured host bind mounts, including workspace, kit, and skills mounts. List and prune output also indicate missing mount sources. Existing workspace fields remain available.sbx lsreports unreadable sandbox state instead of silently omitting the sandbox. Clone failures include Git's underlying reason, such as dubious ownership.- Resizing an interactive terminal during startup or shutdown no longer produces spurious errors. On Windows, Ctrl+Z no longer ends input forwarding, and automatically started daemons are less likely to stop when the launching command exits.
Networking and policy
- Linux hosts using split-horizon DNS, including VPN configurations with corporate nameservers, can reach internal HTTPS hosts through the sandbox proxy and retrieve proxy auto-configuration files from them.
- The proxy reuses upstream connections when injecting credentials, improving parallel downloads such as package installations.
- Bursts of outbound connections no longer crash the daemon when the host network stalls.
- Failed upstream connections for inspected HTTPS requests return a 502 response identifying the host and reason instead of an empty reply.
sbx policy check httpchecks HTTP governance policy behavior.- Policy listings keep the implicit default-deny fallback visible and distinguish it from explicit deny rules. Policy setup correctly identifies the local preset, and Gordon preserves HTTP rule restrictions.
- The policy TUI shows setup guidance after a reset, warns about stale rules, and resumes updates after setup. Storage failures report a server error instead of incorrectly requesting policy initialization.
sbx resetreports how many user-added and approval-granted network rules it will remove, including with--force, and points tosbx policy initafterward.sbx portsaccepts-pfor--publishand identifies the destination sandbox port when a host port is already published.
Authentication, MCP, and models
sbx secret set-custom --value-stdinreads a secret from standard input, avoiding secret values in command arguments.- Daemon image pulls use the
sbx loginsession and stored registry credentials. Published agent kits can be fetched through authenticated registry mirrors. - Enable
mcp.useServerNamePrefixesto prefix MCP tool names with their server name. sbx createandsbx runaccept--static-mcp noneto use static MCP mode without attaching servers.- Approval-gated MCP calls proceed after approval, including with newer MCP clients. Server tools ending in
-authorizeor-revoke-authare available again. - MCP servers have more time to initialize, reducing startup timeouts. Code-mode sessions cancel in-flight tool calls on exit and handle parallel requests more reliably.
sbx mcp authandsbx mcp addsuggest--client-idwhen a server refuses dynamic client registration.- Set
model.server.enabledtofalse, then runsbx daemon restart, to disable the bundled model server and its inference-runtime download.
Cloud sandboxes
- Kit updates no longer fail with “Template has N running sandboxes” while sandboxes using an earlier version are running.
- Building source kits uses less temporary disk space during upload.
- Volume names tolerate surrounding whitespace and reject whitespace-only values. Cloud launches reject local-only model overflow flags instead of silently ignoring them.
- Port listings include the reported protocol in JSON and YAML output.
sbx move --ttlaccepts case-insensitive duration units. - Help and shell completion identify supported cloud options and explain file-transfer limitations for symbolic links and empty directories.
CLI, settings, and diagnostics
--no-inputprevents interactive prompts, including Docker sign-in, and reports the command needed to continue.sbx run --no-progresssuppresses creation progress while retaining command results.sbx create --no-progressstill prompts for cloud network-policy confirmation when needed.sbx --versionprints the client version without starting the daemon. Canceled sandbox and environment creation exits with status 130 and a clear message.- Persistently disable local CLI and daemon telemetry with
sbx settings set telemetry.disabled true. The next CLI invocation uses the preference; runsbx daemon restartto apply it to a running daemon. - Compatibility errors and stale engine tasks identify
sbx daemon restartas the recovery command. Daemon startup failures show only the current attempt's error output, preserving line breaks. - Windows SSH configuration works with both native OpenSSH and Git Bash OpenSSH.
sbx diagnosedetects missing Windows shell support for Claude Desktop SSH connections and warns when the state directory uses eCryptfs, which can cause image-pull I/O errors. - Command help and empty-list hints provide clearer next steps for secrets, MCP servers, skills, cloud sandboxes, and template recovery.
0.50.1
2026-10-28- fixes an issue that prevented sandboxes from starting
0.50.0
2026-10-26Highlights
Docker Sandboxes v0.50.0 adds configurable kit host mounts, preserves persistent kit volumes across updates and sandbox recreation, and adds cloud sandbox inspection. It also strengthens host-execution, credential, and workspace-copy protections.
What's new
Security
sbx cprejects symbolic links that escape a sandbox workspace when the workspace is reached through an alternate host path, including a symlink or junction, macOS/private/tmp, or a Linux bind mount of a workspace subdirectory.- Host Git commands no longer run programs configured by a sandbox through the workspace repository's
.gitdirectory. - Browser, clipboard, and self-update helpers run only from trusted system locations, preventing sandbox-writable directories on
PATHfrom supplying those programs. - Local source kits are reused and composed only when their digests match recorded local builds. Each local source kit rebuilds once after upgrading.
- Git kit references reject ambiguous paths, non-ASCII hostnames, and SSH transport syntax. Use IDNA ASCII labels for internationalized hostnames. HTTPS source restrictions are checked against the parsed URL host.
- MCP OAuth requests block cross-origin credential redirects. Rejected silent refreshes preserve saved credentials without opening a browser.
- Browser-open logs omit URL query strings and fragments, keeping OAuth parameters and tokens in those components out of daemon logs and diagnostic bundles.
- Windows clients verify that the daemon's named pipes belong to the same Windows user. Before using the updated CLI, older elevated daemons may need to be stopped with the previous CLI or Task Manager.
- Environment MCP commands require approval to execute on the host, remain scoped to their sandbox, and are disabled by
--skip-host-commands. Approval notices explain that executable paths are pinned, but file contents are not. Keep executables and scripts outside writable sandbox mounts. - Gordon clears Approve all and Always allow grants when a conversation resumes, requiring approval before running tools again.
Kits
- When creating a sandbox, use
--mount HOST:SANDBOX_PATHwithsbx createorsbx runto select a host directory for a kit-declared host mount. The sandbox target must exactly match thepathof ahost-mount@1capability declared by a kit in the resolved kit set. Environment files support the same bindings throughmounts, mapping sandbox target paths to host directories. These options cannot add undeclared mount targets. - Persistent kit volumes retain data across kit updates and sandbox removal and recreation with the same name. This applies to sandboxes created with this version; existing sandbox records retain their previous storage behavior.
- Creating a sandbox from a v3 kit set without a workload kit reports a clear explanation instead of "the kit set is not coherent."
Sandbox lifecycle and workspaces
- Host Git identity is copied into sandboxes for repositories that use the reftable ref format.
- Sandboxes created with
--clonepreserve kit-provided workspace files and report clone initialization failures. - Canceling clone remote configuration preserves the cancellation error even if stopping Git also fails.
Authentication and agents
- Kiro IDE AWS IAM Identity Center sign-in callbacks reach the sandbox even when the callback port hasn't been published.
- Claude sandboxes using subscription OAuth are provisioned without the API-key helper.
Networking and policy
- HTTP network rules support query-parameter restrictions. Repeat
--query name=valueto require multiple parameters.
Cloud sandboxes
sbx --cloud inspect <id|name>shows details for a single cloud sandbox, including published port URLs. Use--format jsonor--format yamlfor scripting.- Running
sbx --cloud run --name <name>without an agent suggests the correct form:sbx --cloud run <agent> --name <name>.
CLI and diagnostics
sbx execreturns exit status 125 when it cannot run the command, such as when the sandbox doesn't exist.- On macOS and Windows,
sbx diagnoseand daemon logs warn whenSSL_CERT_FILEorSSL_CERT_DIRreplaces the system trust store and can cause HTTPS certificate verification failures.
Experimental Runtime backend
- Workloads have network access.
- Startup stops waiting and cleans up when a workload exits or fails before becoming ready.
0.49.2
2026-10-21Highlights
Docker Sandboxes 0.49.2 updates Go and bundled dependencies as part of Docker’s response to the eMudhra certificate authority compromise.
Security updates
- Updated Go to 1.27.3.
- Updated bundled llmman to 0.1.571.
Recommended actions
Updating the sbx CLI alone does not update existing sandboxes. Docker has also rebuilt the built-in template images with updated CA certificates.
Follow one of the documented mitigation paths:
- Recreate sandboxes with refreshed images, using
--pull always. Save any files and unpushed commits before removing a sandbox. - Update CA certificates in existing sandboxes, then restart applications. Tools that bundle their own CA certificates may require separate updates.
See the security advisory for commands and guidance for custom templates.
0.49.1
2026-10-20Highlights
Docker Sandboxes v0.49.1 improves kit compatibility, proxy support for cloud connections, and sandbox shutdown reliability.
Notev0.49.0 was skipped. These release notes cover all changes since v0.48.0.
What's new
Kits
sbx kit validateandsbx kit inspectaccept--offlineto check a local directory or ZIP kit without starting the daemon or signing in.- Creating sandboxes from local or Git v3 kits honors build-time
--kit-argvalues, including scoped overrides. - Sandboxes combining multiple agent kits, such as Claude and Codex, start successfully and receive guidance in each agent's context file.
- On Windows, sandboxes can combine workload and mixin kits, including kits loaded through Windows junctions.
- Kits declaring multiple OAuth credentials authenticate every declared service.
sbx kit signwarns when Git would change the signed file contents and invalidate signatures forgit+references.- Reading a kit directory rejects unsupported entries, such as named pipes and device nodes, instead of hanging.
sbx kit packrejects symlinks that would produce an archive Sandboxes cannot load.
Sandbox lifecycle and workspaces
- SSH sessions start in the sandbox workspace, matching
sbx exec. - SSH-agent access granted by a kit continues working in running sandboxes after the daemon restarts.
- In newly created local sandboxes, Git preserves the host's ignore decisions for paths already present in the primary workspace. This applies to primary workspaces mounted at a Git repository root.
- Sandbox startup waits for Docker to become ready without launching competing Docker daemons.
- Daemon shutdown and sandbox reset no longer hang indefinitely when Docker is unresponsive or a kit registry operation stalls.
- Sandbox reset handles concurrent operations more reliably, avoids false cleanup warnings, and identifies sandboxes it could not fully remove.
- Port changes fail cleanly during sandbox creation or deletion, avoiding stale host bindings.
- SSH connection attempts fail cleanly when the daemon is shutting down.
- Cursor sandboxes no longer show an unexpected Workspace Trust prompt for workspace paths containing characters such as
.or_.
Networking and cloud sandboxes
- Explicit CIDR deny rules take precedence over matching domain allow rules when Sandboxes resolves the destination address.
- Cloud commands,
sbx move, the TUI, and cloud SSH honor configured proxies, including system and PAC proxies. Setproxy.sshDirecttotrueto connect cloud SSH directly on networks that permit direct SSH connections. sbx mcp addcompletes OAuth discovery on networks that require an HTTP proxy, without needing--skip-ssrf-check.- Fixed uploads stalling while waiting for HTTP 100 Continue through intercepted HTTPS connections.
- Fixed a Windows system-proxy watcher hang that could prevent the daemon from stopping.
- Image pulls from
public.ecr.awswork under thebalancednetwork policy. sbx policy refreshimmediately refreshes policy, for example after an AI Governance change, instead of waiting for the next polling interval. Existing connections remain open.sbx policy lscontinues showingdefault-deny-allafter a kit adds network rules.- Cloud connection and authentication errors include guidance for resolving the problem.
Authentication and MCP
- Custom secrets using
OPENAI_API_KEYorANTHROPIC_API_KEYappear in the sandbox as expected. sbx secret set-customwarns before replacing a different host or environment-variable mapping under the same placeholder.sbx secret rmreturns an error when no secret matches--registry,--placeholder,--host, or--env-name.- MCP gateway code-mode tools work on Windows hosts.
CLI, settings, and diagnostics
sbx policy ls,sbx settings ls, andsbx policy approval lsaccept-qto print only rule IDs, setting keys, or approval IDs.- Configure daemon log size and retention with
sbx settings setusingdaemon.log.maxSizeMB,daemon.log.maxBackups, anddaemon.log.maxAgeDays. - The
browser.enabledsetting controls whether sandboxes can open the host browser. sbx envreports unknown keys and invalid values with their source file, line, column, and field. Invalid values in a base file must be fixed even if a later file overrides them; this also applies to~/.sbxenv.yamlandsbx env rm.sbx settings setrejects incorrectly structured values forkit.allowedSourcesandkit.trustedSignersbefore saving them.sbx cpclearly reports a missing destination directory without extra tar errors.sbx diagnosereports running CLI and shim processes, warns when global network policy is not initialized, and detects a ZFS setting that can make image builds unusually slow.
Templates and installation
- Full templates now include a C/C++ toolchain for compiling native code inside the sandbox.
- The Linux tarball installer works for regular users on systems with AppArmor.
Earlier releases
For older versions, see the Docker Sandboxes releases on GitHub.