Changelog
What changed in Dock, from the hosts up to the API.
dock 0.3.6: branch, --network off and a host block for gVisor docks
- CLI
- Security
dock branchnow works for local gVisor docks. A running source is stopped, its container is committed to a branch image and its/home/user/workvolume is copied by a short-lived helper with no network, then the source is resumed. The branch starts as a new dock with its own token, port and network. Needsdockv0.3.6 or later.- With the
runsc-suidruntime a branch carries rootfs changes, such as installed packages; with plainrunsconly/home/user/workcarries over. A branch image keeps a copy of the source's rootfs changes on disk until the source and its branches are removed, anddock rmremoves the branch image. dock new --runtime gvisor --network offnow works. The container runs with no network: no internet, no DNS and no route to the host or other docks.exec,sshandportstill work throughdocker execinto the sandbox, at the cost of onedocker execper agent call, so a bit slower. Network off survives stop, resume and branch.- A network-on gVisor dock can no longer reach services on your machine: the bridge gateway, the host's other addresses including its LAN IP and
docker0,127.0.0.1and other containers' published ports, even as root in the dock.dockadds a per-dock firewall rule on the host through a short-lived Docker helper, with nosudoneeded. The rule is added on start, resume and branch and removed on stop anddock rm. DNS to your resolvers, internet access, the rest of your LAN, the agent port anddock portkeep working. - The host block fails closed: if the rule cannot be installed,
dock newanddock resumerefuse withhost_block_failed. Use--network off, or setDOCK_GVISOR_ALLOW_HOST=1to run anyway with host access. A host firewall reload or flush can remove the rule from a running dock until it is stopped and resumed, docks created by an olderdockget it on their next resume, and the IPv6 rule is added only whereip6tablesworks on the host. - Still not supported on gVisor docks:
dock pushanddock pull.
dock 0.3.5: local docks without KVM with gVisor, clearer KVM errors
- CLI
- Security
dock new --runtime gvisor(orDOCK_LOCAL_RUNTIME=gvisor) runs local docks on Linux without KVM, as gVisor containers through Docker andrunsc. It is opt-in: without the flag, local docks stay QEMU only. Needsdockv0.3.5 or later.- Optionally register a separate
runsc-suidruntime (sudo runsc install --runtime=runsc-suid -- --allow-suid --overlay2=none, then restart Docker) forsudoand a filesystem that persists across stop and resume. Your other runsc containers keep the default. With plainrunsc, nosudo, and only/home/user/workpersists. - A gVisor dock has its own Docker bridge network and keeps Docker's default capabilities, never
--privileged. gVisor is a strong sandbox, a different boundary from a hardware VM, and anyone who can use Docker on the machine can reach these docks. It can reach network services on the host through the bridge gateway, for example one listening on0.0.0.0; the guest of a QEMU dock refuses the host loopback gateway, a gVisor dock has no such block. - Not yet supported on gVisor docks:
--network off,dock branch,dock pushanddock pull. There is one built-in image rather than Dockyard, and--diskis not enforced. - On Linux,
no_acceleratorerrors anddock doctornow tell/dev/kvmpermission denied (add your user to thekvmgroup, then log in again) from a missing KVM device (enable VT-x or AMD-V, loadkvm_intelorkvm_amd, or turn on nested virtualization), each with a fix line and a pointer to the gVisor runtime.
dock 0.3.4: local docks block the host's localhost, fresh ssh host keys
- CLI
- Security
- With
--network on(the default), local docks refuse new connections to the gateway10.0.2.2, which QEMU maps to your machine's127.0.0.1. The block covers the dock and its Docker containers, so code in a dock no longer reaches dev servers, databases or other docks'dock portforwards that listen only on your localhost. DNS, the internet and the agent are unaffected. - The block is a rule inside the guest, so root in the dock can remove it. It stops accidental access, not a hostile dock: use
--network offfor untrusted code. A host-enforced fix is tracked in docklet#98. - Copied docks (branches, pulled docks and docks started from a dock saved by name) make fresh sshd host keys on first boot, and keep them across stop and resume. Fleet hosts do this with any image.
- Dockyard images
images-2026.10.11.4, which dock 0.3.4 pins, carry both changes. Existing local docks get them only when created from these images. Works with control plane 0.2.3 and later.
dock 0.3.3 and control plane 0.2.5: sturdier transfers, sshd at boot
- CLI
- Self-host
- Security
dock pushanddock pullretry with jitter, resume downloads safely withIf-Range, time out stalled connections, stop cleanly on Ctrl-C or SIGTERM, and check free space first.- Disks stay sparse on every platform. On Windows,
dock pushno longer writes the full virtual disk size to a temp file. - With control plane 0.2.5 and docklet 0.3.3,
dock pullsizes its free-space check from the dock's recorded data size (dataBytes). Otherwise it falls back to an estimate. Push and pull still need control plane 0.2.3 and docklet 0.3.2 or later. - Dockyard images
images-2026.10.11.3: sshd starts at boot. New docks get the fix; existing docks keep their disk. - Local docks always run with IPv6 off. Known limit: with
--network on(the default), a local dock can reach services that listen only on your machine's localhost, including other docks'dock portforwards. Use--network offfor untrusted code.
Benchmarks for the local engine
- Benchmarks
- CLI
- A new benchmarks page shows P50, P95, P99 and success rate for create, exec, stop and resume, and branch on
dockv0.3.2's local engine (QEMU on KVM), measured on a GitHub-hosted 4 vCPU runner. Success was 100% in every scenario. - It states the limits: nearest-rank percentiles from 10 or 50 samples, CLI start included in every time, nested virtualisation, no network hop, and no fleet hosts measured.
- The harness and raw samples are in
bench/in usedock/dock, and the Bench workflow reruns it.
Control plane 0.2.4: sturdier push and pull, fleet token kept off screen
- Self-host
- Security
- Self-host setup never prints the fleet token. A host on another machine reads it at a silent prompt, and
setup.sh --hostpasses it through the environment rather than the command line. dock pushparts uploaded through the control plane share a fixed memory budget and wait their turn instead of exhausting memory; the CLI retries a busy answer on its own.- Clearer errors: any request body over its size limit answers 413 instead of 500, an unsatisfiable
dock pulldownload range answers 416, and an import into an environment whose egress allowlist no host can enforce is refused before any upload. - Mail sent without an SMTP server no longer logs full addresses, and waitlist confirmations no longer slow down the form. The rate limiter now needs Redis 7 or later, which the shipped compose files use.
dock push and dock pull, and working connector triggers
- CLI
- Connectors
dock push <dock> --to <context>copies a stopped local dock's disk to a control plane as a new dock.--stopstops it first and--rmdeletes the local dock after the push.dock pull <dock> --from <context>copies a control plane dock's disk to a new stopped local dock.- Only the disk moves, as a full snapshot checked by sha256, so the dock boots fresh. Both directions need a microVM host and a dock built from a Dockyard image; hosts boot an imported disk only after verifying it.
- Needs control plane 0.2.3 and docklet 0.3.2 or later. The self-host end-to-end test pushes a laptop dock to a fresh self-hosted control plane and pulls it back with its files.
- Connector webhooks for Linear, Slack, Sentry and Figma, and repo links for triggered runs, work from control plane 0.2.3. In 0.2.0 to 0.2.2 these routes returned 404.
Local docks, Dockyard images, private ports and egress allowlists
- CLI
- Images
- Security
- The
dockCLI runs docks on your own machine with no account: QEMU with KVM on Linux x86_64 or arm64, or Windows Hypervisor Platform on Windows x86_64. macOS builds but is not tested yet.dock doctorchecks what is missing. - Dockyard images
ubuntu-24.04,node-22,python-3.12andbrowser, for amd64 and arm64, signed with cosign.dock imageslists them; a self-hosted host serves more afterdocklet image pull. - Exposed ports are private by default: members of the organization get in after sign-in.
- An admin can limit an environment to an egress allowlist, enforced by a proxy on the host.
- Self-hosted snapshots are encrypted at rest in the bundled MinIO, and control plane images are signed with cosign.
Figma, Linear, Slack and Sentry connectors
- Connectors
- Security
- An admin connects each tool once per workspace with a token, or with OAuth when the instance has an OAuth app for it.
- Agents in a dock call the tool through the connector gateway with a dock-scoped token; the real token never enters the dock. Linear and Sentry are also reachable through their official MCP servers; Figma through its REST API.
- Triggers: mention @dock in a Slack thread, assign a Linear issue to Dock or label it
dock, mention @dock in a Figma comment, or opt in to new Sentry issues. The result posts back to the thread, issue or comment. - A run started by a trigger gets no workspace secrets and reaches its model through a run-scoped token. Only full Slack members, non-guest Linear members and allowlisted Figma users can start one.
Dock is isolated Linux machines for agents
- Product
- One model: a dock is an isolated Linux machine with a persistent disk, a stable ID, and an optional name. It works the same on a laptop, your own servers, or Dock Cloud (coming soon).
- Images:
ubuntu-24.04minimal, plusnode-22,python-3.12, andbrowser. - Size is numbers:
cpus,memoryanddisk, defaulting to 2 vCPU, 4 GB and 20 GB. The runtime,microvmorgvisor, is chosen by the host. - Verbs:
new,execandssh,stop(disk kept, compute released),resume(same ID, same files), andbranch. - Connectors keep credentials outside the dock, starting with GitHub and model keys.
Run commands in a dock
- API
- Runtime
POST /v1/docks/:id/execruns one command in a ready dock underbash -lcand returnsexitCode,stdout,stderranddurationMs. Each stream is capped at 1 MiB.timeoutSecondsdefaults to 60. Per-callenvis never stored or logged,cwddefaults to/home/user/work, and anIdempotency-Keyreplay returns the first result.
Hosts dial out, and delta snapshots
- Runtime
- Storage
- Security
- Hosts enroll and connect outbound only: they register, report capacity, and long-poll for work. No inbound port per host.
- Snapshots store only the 1 MiB blocks that differ from the base image.
- Hosts move snapshot objects with presigned URLs, so storage credentials never reach a host.
- The gVisor runtime runs containers as an unprivileged user with all capabilities dropped.
Firecracker runtime
- Runtime
- Docks run as Firecracker microVMs under the jailer, with cgroup v2 CPU and memory limits.
- Root disks are cloned with reflinks; snapshot objects are compressed with zstd in S3-compatible storage.
- The scheduler places docks on online hosts with a matching CPU family and free capacity.
GitHub webhooks and scoped tokens
- GitHub
- Security
- Inbound GitHub webhooks are verified with HMAC-SHA256.
- Installation tokens are scoped to a single repository and stored encrypted.
Start a dock in a minute.
Self-host Dock for free, or join the waitlist for Dock Cloud.