dock

Run Dock on hardware you own.

One command for a control plane, one command per host. AGPL-3.0, every feature, free.

Three places to run Dock

  • Your laptop

    Install the dock CLI and run docks on your own machine with no account, on QEMU with KVM (Linux) or Windows Hypervisor Platform (Windows), or gVisor through Docker on Linux without KVM (dock new --runtime gvisor, opt-in); macOS builds but is not tested yet. On Windows, enable Windows Hypervisor Platform and install QEMU first; dock doctor checks what is missing. To use your control plane instead, add it as a context, switch to it and log in.

    curl -fsSL https://usedock.io/install | sh
    dock doctor
    dock new web
    
    dock context add work --url https://dock.example.com
    dock context use work
    dock login
  • Your servers

    One command starts a control plane. Add hosts as you need capacity.

    ./setup.sh --url https://dock.example.com
  • Dock Cloud

    Coming soon: the same software, run by us. Join the waitlist on the contact page.

A control plane in one command

For a public instance with automatic HTTPS, pass your URL. For a local one with docks on this machine, pass --host.

./setup.sh --url https://dock.example.com
./setup.sh --host

What it starts

  • Postgres
  • Redis
  • Restate
  • MinIO
  • API
  • Dashboard
  • Caddy on one origin
  • Migrations on start

Add hosts with one command each

Hosts dial out to the control plane. They are outbound only and need no inbound port.

sudo bash scripts/bootstrap-host.sh \
  --fleet-url https://dock.example.com \
  --fleet-token $FLEET_TOKEN \
  --runtime microvm

Use --runtime gvisor on a machine with Docker and no KVM. A microvm host serves ubuntu-24.04; run sudo docklet image pull node-22 to serve another Dockyard image.

Host platforms
PlatformRuntimeStatus
Linux with KVMFirecracker microVMsAvailable
Linux with DockergVisorAvailable. Keeps /home/user/work across stops.
Windows x86_64docklet on WindowsPlanned
macOS Apple silicondocklet on macOSPlanned

Free, open, every feature

Self-hosting is the same product as Dock Cloud, run on your hardware.

License
AGPL-3.0. Every feature is in the open-source release, with no paid edition.
Your data
Docks, disks and snapshots live on your hosts and your storage. The bundled MinIO encrypts snapshots at rest.
Connectivity
Hosts dial out to the control plane. You never open an inbound port.
Releases
Signed with cosign: control plane images, the docklet and the dock CLI. The install scripts check the docklet and CLI signatures before installing.
Moving docks
dock push <dock> --to <context> copies a stopped local dock's disk to your control plane as a new dock; dock pull <dock> --from <context> brings a dock back as a stopped local dock. Only the disk moves, so the dock boots fresh. It needs a microVM host, a dock built from a Dockyard image, control plane 0.2.3 and docklet 0.3.2 or later.

Upgrades, backups, telemetry

Upgrades
Run git pull, then ./setup.sh --upgrade with the new version. See the docs.
Backups
Back up the Postgres and MinIO volumes, and keep .env: it holds the keys for secrets and snapshot encryption. See the docs.
Telemetry
Off by default. Set DOCK_TELEMETRY=on to opt in to anonymous counts.

Start a dock in a minute.

Self-host Dock for free, or join the waitlist for Dock Cloud.