Installation
Get LabTether running with Docker Compose.
What you'll need
- Docker Engine and Docker Compose 2.33.1 or newer. Confirm with
docker versionanddocker compose version. - A browser that can reach the hub host.
Memory, measured on v1.7.1 at idle with one agent: the four hub containers used about 190 MB in total, and the Linux agent about 14 MB. The compose file caps the hub at 1 GB and PostgreSQL at 2 GB.
No other dependencies. LabTether ships its own Postgres, generates its own secrets, and handles TLS automatically.
Install
Download the release installer, inspect it, and run it:
curl --proto '=https' --tlsv1.2 -fsSLo install-labtether.sh https://labtether.com/install.sh
less install-labtether.sh
bash install-labtether.sh
The installer resolves the latest published release. To pin a specific release, set LABTETHER_VERSION to its tag, for example LABTETHER_VERSION=v1.7.1 bash install-labtether.sh.
The installer checks the release checksums, checks GitHub build attestations when the GitHub CLI (gh) is installed, uses digest-pinned images, and starts the hub API, web console and managed Postgres. To make the attestation check required, run it with LABTETHER_REQUIRE_ATTESTATION=true. Runtime secrets are generated automatically on first boot. The RDP gateway (guacd) is off by default; Remote desktop shows how to turn it on.
Open http://localhost:3000 to reach the setup wizard.
Alternative: Docker Compose
Install with Docker Compose shows how to install from the release files with your own docker compose commands.
The verified installer writes the release-specific Compose file, manifest, checksums, and .env.deploy into the install directory. Use those pinned artifacts for split services, external Postgres, or resource-limit customization. Do not deploy the mutable main branch directly.
Run one active LabTether hub per PostgreSQL database. Scaling the API service horizontally is not currently supported because agent and interactive stream connections are owned by one process. A second hub pointed at the same database fails closed before serving traffic; use the container restart policy to replace the active instance after it stops.
Verify it's running
Check the three main endpoints:
| Endpoint | Check | What it tells you |
|---|---|---|
| Console | http://localhost:3000 |
Web UI is serving |
| API health | curl -k https://localhost:8443/healthz |
"status":"ok" and "postgres":"ok" |
| Container status | docker compose --env-file .env.deploy -f docker-compose.deploy.yml ps, run in the install folder |
All services are up |
With the default auto TLS mode, the hub generates a self-signed CA on first boot, so your browser shows a certificate warning at https://localhost:8443. To remove the warning, download the CA certificate at https://localhost:8443/api/v1/ca.crt and install it in your system trust store. With TLS on, port 8080 only redirects to 8443, and its /healthz answers redirect_active without checking the hub.
What got created
Behind the scenes, first boot generated and persisted these in the LabTether data volume:
- Owner token and API token: used internally for service-to-service auth.
- Encryption key: protects stored credentials at rest.
- Postgres password: auto-generated before Postgres starts; visible later in Settings if you need it.
These live in the Docker volume at /data/install/state.json and /data/install/secrets.json. You never need to touch them for normal operation.
Warning: The deploy defaults bind the web console (port 3000), hub HTTP (8080) and hub HTTPS (8443) to
127.0.0.1only, sohttp://localhost:3000opens only on the Docker host itself.
To use the console from other machines, put it behind HTTPS: Tailscale HTTPS (tailscale serve --bg http://127.0.0.1:3000 on the Docker host) or your own TLS reverse proxy in front of port 3000.
You can also set LABTETHER_CONSOLE_BIND=0.0.0.0 in .env.deploy after setup and open http://<host-ip>:3000. Sign-in works, but your password and session cookie cross the network unencrypted, so do this only on a network you trust.
Agents and the mobile app connect to the hub's HTTPS port 8443. To let them reach it from other machines, set LABTETHER_HTTPS_BIND in .env.deploy.
Next up: First Login