Skip to content

Hosting Hermitbox

Open the service’s HTTPS address to find its key location and connect. Enter the key to see this install’s caller examples; the page keeps it only for the current request in this tab. Examples reference HERMITBOX_API_KEY, never its value. Keep your state volume across replacements. The image exposes only port 8080 (PORT overrides it), with readiness at /healthz.

The templates name the release image by version, 0.2.0. Render builds the repository Dockerfile, so its button uses the source directly. The platform documentation linked below was checked on 2026-11-14. These files create no account and publish no marketplace listing; where a platform needs a published template, its owner publishes it. See each platform’s own pricing link below.

CI runs the image built from the checkout in six container envelopes, one per platform below and one as an ordinary user (1000:1000). Each has a writable root filesystem, one state volume, 2 GiB of memory and no added privilege, and each passes the welcome page’s secrecy, the authenticated details, all six caller blocks, and key retention across a restart without logging the key again. CI also runs each platform’s own validator where one works without an account (control/tools/hosting-validate.ts), and boots the cloud-init file on two distributions.

Tiers and guarantees

On managed platforms (Coolify, Fly.io, Koyeb, Railway and Render), the image uses the process policy where the kernel enforces Landlock and seccomp, and the platform files attach no nested engine or KVM. Process workloads share one UID, so run only work that trusts each other, and internet-enabled process workloads share host networking. No live deployment on these platforms has been tested.

No platform name proves a kernel capability. The welcome page reports the configured default isolation and says that it does not show the host probe report. Node admission refuses requests it cannot enforce. These templates add no privilege, engine socket, device or host policy override. The image chooses from what it can use; no preset flag is required.

On an ordinary container, the default process tier requires Landlock and seccomp. It refuses startup when it cannot enforce that floor. Root gives per-sandbox UIDs; an ordinary service user gives shared UID isolation, which is weaker and is reported. There are no container images or browser/desktop templates in this process path. Process sleep keeps memory while the supervisor survives; a platform restart requires a fresh process from retained files. Shared UID workloads must be mutually trusted; internet-enabled process workloads share host networking even with separate UIDs. User namespaces and writable cgroups are not assumed. See process tier. Wasm is available on x86-64 when explicitly selected at deployment, with a virtual kernel, shared sidecar and its limits; it does not substitute for a requested process policy. Container requires an engine and host firewall, absent on these managed-service templates. No template attaches a KVM device, so the vm tier is off on them.

A provider can change its kernel without changing a template. Only a live probe can establish Landlock ABI, seccomp, user namespaces and cgroup delegation there. The CI envelopes reproduce each platform’s container settings under Docker; they are not a test of a provider’s kernel. No live deployment on these platforms has been tested.

Render

Deploy on Render uses the root Blueprint, builds the repository Dockerfile, and retains one state disk and managed Postgres. HERMITBOX_BOOTSTRAP_API_KEY is generated by Render; retrieve it in the service’s Environment settings. It is neither logged nor sent with the public welcome page. RENDER_EXTERNAL_URL provides the verified HTTPS origin. The image’s default user is root; Render supplies the container filesystem and disk at /var/lib/hermitbox. Host namespaces/cgroups are not assumed. The ordinary-container process policy above applies; no Docker or KVM is attached.

Validation: Render’s own JSON Schema, the image envelope and the six caller blocks pass in CI. Live deployment: not tested. Blueprint reference, persistent disks, pricing.

Railway

Prepare Railway deployment. Templates are account-owned; the file lists every Composer field to paste. An account owner can publish those fields and use the returned deploy URL as the button; no template is published here. Use one instance, one /var/lib/hermitbox volume, generated domain and /healthz. HERMITBOX_BOOTSTRAP_API_KEY=${{secret(64)}} is generated in Template Composer; find it in service → Variables. RAILWAY_PUBLIC_DOMAIN gives the HTTPS origin. Keep the image’s root user, writable container filesystem and its one state volume. Process admission still requires the kernel policy above; no user namespace, delegated cgroup, Docker or KVM is assumed.

Validation: no account-free template validator exists for Composer fields. The container envelope and caller blocks pass in CI. Live deployment: not tested. Templates, variable functions, volumes, pricing.

Fly.io

Prepare Fly deployment. Fly Launch assigns a unique app name and attaches hermitbox_state to one machine. Use that file with Fly Launch; do not scale to a second machine with an independent state volume. Fly’s secrets store accepts supplied values but the launch config does not generate one: the image prints its initial apiKey once in app → Monitoring → Logs. FLY_APP_NAME gives the HTTPS origin. Fly runs the image in a Machine with a writable root filesystem and its persistent /var/lib/hermitbox mount; the image user stays root. This template adds no Docker daemon or KVM device. The process policy must pass on the actual guest kernel.

Validation: CI parses the TOML. Fly’s remote configuration validator needs an app and an account (its source), so CI does not run it. The container envelope and caller blocks pass in CI; they do not emulate a Fly microVM. Live deployment: not tested. Configuration, volumes, pricing.

DigitalOcean App Platform

Use a rented machine. App Platform has no persistent volumes. None of its three storage paths keeps a whole install: managed Postgres leaves sandbox data ephemeral; Postgres with Spaces still loses local fleet identity; keeping all state in the instance loses it on replacement. No App Platform button or stateless app spec is shipped. The rented-machine path below preserves all state.

Validation: none for App Platform, which has no stateful image to test. Live deployment: not tested. Storage limitations, app specification, pricing.

Koyeb

Prepare Koyeb deployment. The deploy-button format supports an image, variables and ports but not a volume attachment. A bare button loses state; an external database still loses local identity and sandbox data; a pre-created volume works but needs account preparation. Prepare that volume and service using the supplied fields. No account or template is published. Read apiKey once in service → Logs; the button format has no documented generated-secret expression. KOYEB_PUBLIC_DOMAIN gives the HTTPS origin. Keep one instance with its /var/lib/hermitbox volume, port 8080, writable root filesystem, image default user and no privileged mode. Actual Landlock/seccomp support must be established by admission; no namespace/cgroup/KVM guarantee is inferred from Koyeb’s isolation technology.

Validation: no account-free service validator is documented. The ordinary container envelope and caller blocks pass in CI, which is not a test of Koyeb’s kernel. Live deployment: not tested. Button format, volumes, pricing.

Coolify

Prepare Coolify deployment. In an existing Coolify installation, add a Docker Compose Empty service and paste the file. SERVICE_URL_HERMITBOX_8080 asks Coolify to assign the proxy domain; SERVICE_PASSWORD_64_HERMITBOX generates the bootstrap key. Retrieve it in service → Configuration → Environment Variables. Keep the named volume, image user, writable container root and ordinary Docker security policy. Coolify runs on your host: Landlock/seccomp availability comes from that host, and no engine socket, privilege or KVM device is passed to hermitbox. No catalog entry is published. The generated URL uses the Coolify installation’s domain/TLS policy; the operator must already have configured HTTPS there.

Validation: Docker Compose’s own config validator with generated values, the container envelope and the caller blocks pass in CI. Live deployment: not tested. Compose, generated variables, pricing.

A machine of your own

Supply user-data.yaml as cloud-init user data. It runs the installer and hermitbox up --image once as root, keeping state on the machine’s disk. This is the server installation: Docker and its host firewall policy are installed; the image uses the container tier and refuses a missing policy. It ends at the same welcome page on port 8080. The key location is the first successful startup in the service journal.

The service endpoint is HTTP, and its default origin is loopback: reach the welcome page through an SSH tunnel. A public HTTPS deployment needs your own DNS and TLS setup and HERMITBOX_PUBLIC_URL; this file does not invent a domain or weaken TLS. No cloud-init provider or operating system can allocate a verified domain for a machine from this repository alone.

Validation: cloud-init’s own schema passes in CI, and CI boots the checksum-pinned Ubuntu 24.04 and 26.04 images (inventory) under QEMU, each with two virtual CPUs and 4 GiB of memory, through boot, install, welcome, authentication and a hello sandbox. Live deployment: not tested. cloud-init runcmd.

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
agents can read every page: llms.txt · llms-full.txt