Isolated Linux machines for agents.
On your laptop, your servers, or our cloud.
Each dock is a microVM with its own kernel and a disk that stays. Stop it, resume it, branch it into copies. Bring any agent.
curl -fsSL https://usedock.io/install | sh$ dock new api --image node-22created api (dk_7f3a2c…) state=ready$ dock exec api -- uname -sLinux$ dock branch api --count 3stopping api for a consistent copybranched api -> dk_3e9a41… (dk_3e9a41…)branched api -> dk_b41d07… (dk_b41d07…)branched api -> dk_c08e5a… (dk_c08e5a…)$ dock stop apistopped api state=archived
- Its own kernel
- Every dock is a Firecracker microVM, or gVisor where KVM is missing. On a laptop, a QEMU VM.
- A disk that stays
- Stop releases compute. Resume brings back the same id and files.
- Copies in one command
- Branch a prepared dock into as many as you need.
- Open source
- AGPL-3.0. Self-hosting is free, with every feature.
Five verbs. That is the product.
The same lifecycle on every machine. Nothing to configure before your first dock.
dock new
A fresh Ubuntu machine with root, Docker and network. Set CPUs, memory and disk as numbers, or take the defaults.
dock exec · ssh
Run a command over the API, or open a shell.
dock stop
Compute is released. The disk is kept.
dock resume
The same dock comes back: same id, same files.
dock branch
Prepare a dock once, then copy it. Every copy starts where the original is and goes its own way.
- dock portAn https URL for a port in the dock, private to your organization by default. On a laptop, a forward to localhost.
- dock lsEvery dock in the workspace, running or stopped.
- dock contextPoint the same commands at another control plane. dock push and dock pull move a dock between your laptop and a control plane.
Your laptop, your servers, or ours.
Run docks on your laptop with no account, or point the dock CLI at a control plane on your servers or, soon, Dock Cloud.
Your laptop
The dock binary runs docks on your own machine with no account: QEMU with KVM on Linux, or Windows Hypervisor Platform on Windows. macOS builds but is not tested yet.
dock new webYour servers
One command starts a control plane for your team: shared docks, snapshots and connectors.
./setup.sh --url https://dock.example.comDock CloudComing soon
The same API and the same docks, run by us. Point the CLI at it and keep working.
dock loginHosts dial out. Nothing listens.
A host opens an outbound connection to the control plane and waits for work, so it runs behind a firewall or NAT with no inbound ports. It takes no work until its readiness checks pass.
- Linux with KVMFirecracker microVMsAvailable
- Linux with DockergVisorAvailable
- WindowsFleet host. Local docks run on Windows today.Planned
- macOSFleet host. Local docks build but are untested.Planned
Connect your tools. Keep the keys.
Connectors let agents in your docks work in GitHub, Figma and the rest of your stack, and let those tools start work in Dock.
- Issue #214mentioned
@dock fix the flaky login test
acme/api
- dock-4e1b9c07finished
Agent runs in a fresh dock
branch dock/run-9a2f6d18
- Pull request #215opened
Fix race in session refresh
3 files changed
- Connect oncePer workspace: an app install, a token, or OAuth.
- TriggersA mention, an assignment or a new error starts work in a dock.
- ActionsAgents use the tool through its official API or MCP server.
- CredentialsThe dock holds a dock-scoped token; Dock's gateway adds the real key on the way out.
GitHubAvailable
Mention @dock on an issue and a dock opens the pull request.
Model keysAvailable
Anthropic, OpenAI and OpenCode keys stay behind Dock's LLM gateway.
FigmaAvailable
Mention @dock in a comment and the agent replies in the thread.
LinearAvailable
Assign an issue and a dock picks it up.
SlackAvailable
Start a dock from a thread and get the result back there.
SentryAvailable
Opt in, and a new issue starts a dock; the result posts back as a note.
A machine, not a container.
How a dock compares with the usual ways to give an agent somewhere to run.
| Capability | Dock | Containers | Hosted sandbox APIs | Cloud VMs |
|---|---|---|---|---|
| Isolation | DockOwn kernel (Firecracker), or gVisor | ContainersShared host kernel | Hosted sandbox APIsmicroVM or container, by provider | Cloud VMsOwn kernel |
| Disk after stop | DockKept, same id on resume | ContainersOnly mounted volumes | Hosted sandbox APIsSnapshots, often time-limited | Cloud VMs |
| Copies of a running machine | Dockdock branch --count 3 | Containers | Hosted sandbox APIsSome providers | Cloud VMsFrom images only |
| Runs on your laptop | DockLinux and Windows, no account | Containers | Hosted sandbox APIs | Cloud VMs |
| Open source, self-host | DockAGPL-3.0, one command | Containers | Hosted sandbox APIsRarely | Cloud VMs |
| Keys kept outside | DockDock's gateway adds keys | Containers | Hosted sandbox APIsSome providers | Cloud VMs |
Comparing products? Read Dock against E2B, Modal, Vercel Sandbox and more
Drive it from code.
The CLI, the REST API, and the TypeScript, Python and Go SDKs use the same verbs. Bring any agent: installing one is a line in your setup script.
- CLIdock new, exec, stop, resume, branch.
- REST APIThe same verbs over HTTP.
- SDKsTypeScript, Python and Go, with the same names. Install from GitHub; not on npm or PyPI yet.
- dock.tomlA repeatable dock: name, image, size and environment.
import { Dock } from '@usedock/sdk' const dock = new Dock() // DOCK_API_URL, DOCK_API_KEYconst api = await dock.docks.create({ workspaceId, name: 'api', image: 'node-22' })await dock.docks.exec(api.id, 'git clone https://github.com/acme/api && cd api && npm test')const copy = await dock.docks.branch(api.id, { name: 'api-copy' })await dock.docks.stop(api.id)
Pay only for what runs.
For Dock Cloud when it launches; self-hosting is free. Every dock is the same product, and plans only change limits and support.
- vCPU-hourCPU while a dock runs
- GB-hourMemory while a dock runs
- GB-monthDisk and snapshots, also while stopped
- GBEgress
Start a dock in a minute.
Install the CLI, run dock new, and you have a machine.