Skip to content
docs
type to search↑↓ move↵ openesc close
v0.3.2github

Host on your own machine

2 min readv0.3.2this page as markdown
let your agent do it
Install Hermitbox on my Linux machine with cloud-init.
Paste it into your agent. It follows this page as Markdown: own-machine.md

Give a new Linux machine the shipped cloud-init user data and it boots running Hermitbox, with container sandboxes on and its state on the machine’s persistent disk. The file runs the installer and hermitbox up --image once, as root.

Install with cloud-init

  1. Create the machine from an image that runs cloud-init. CI boots Ubuntu 24.04 and 26.04 with this file.
  2. Supply user-data.yaml as its user data. The installer puts only the CLI on the machine, and hermitbox up --image runs the release image as the hermitbox-image systemd service.
  3. Find the key in the service journal. The image prints apiKey once, on its first successful start.
shell
sudo journalctl -u hermitbox-image

Verify and connect

On the machine:

shell
curl -fsS http://127.0.0.1:8080/healthz

It answers with "status":"ok".

The service speaks HTTP, and its default origin is loopback, so reach the welcome page through an SSH tunnel. Open the tunnel, then open http://127.0.0.1:8080 on your own computer:

shell
ssh -L 8080:127.0.0.1:8080 <user>@<machine-address>

The welcome page shows the key location and the configured tier. Enter the key there, then choose a caller guide.

Machine notes

This is the server installation of the release image. It installs Docker and its host firewall policy, and the image uses the container tier, refusing to run it without that policy. On x86_64 it also registers gVisor’s runsc with Docker.

This path needs root, systemd, Docker and the host firewall policy. On a host without them, the installer picks a preset that fits, an ordinary user’s included. A requested capability the host lacks is refused.

For public HTTPS, set up your own DNS and TLS and set HERMITBOX_PUBLIC_URL. This file doesn’t invent a domain or weaken TLS, and no cloud-init provider or operating system can allocate a verified domain for a machine from this repository alone.

Keep the state directory. See operations, Host on a server with root for the server preset without the image, and cloud-init runcmd.

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
Linux (x86_64 or aarch64), no root, no Docker. Agents can read every page: llms.txt · llms-full.txt
the floor · nothing below this line