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

Choose where to host Hermitbox

7 min readv0.2.1this page as markdown
let your agent do it
Help me choose where to host Hermitbox, then deploy it there.
Paste it into your agent. It follows this page as Markdown: hosting.md

Run Hermitbox on a managed platform or on a Linux machine of your own. Each option keeps one state volume and serves Hermitbox on port 8080, with readiness at /healthz.

Platform What it deploys Guide
Render The repository Dockerfile with a state disk and managed Postgres Host on Render
Railway The release image with one volume, from a published template Host on Railway
Fly.io The release image on one Machine with a persistent volume Host on Fly.io
Koyeb The release image with a volume you create first Host on Koyeb
Coolify A Docker Compose service on your Coolify host Host on Coolify
DigitalOcean A Droplet with cloud-init, since App Platform has no volumes Host on DigitalOcean
Own machine The release image under systemd from cloud-init, with Docker and its firewall policy Host on your own machine
Server with root The server preset: Docker, nftables, systemd units and, with a domain, managed TLS Host on a server with root
Any container host The release image with docker run Deploy the release image

The templates name the release image by version, 0.2.1. Render builds the repository Dockerfile, so its button uses the source directly. The platform documentation linked from each guide was checked on 2026-11-14; see each platform’s own pricing link.

How to choose

Pick a managed platform when you want HTTPS and a public address without running a machine. Sandboxes there run on the process tier, and on Wasm where its probe passes.

Pick a machine you control when you need images or virtual machines. A container engine turns on images, and KVM turns on virtual machines; no managed platform template attaches either.

Render

Render deploys from the repository with one Blueprint, including managed Postgres. Deploy on Render, then follow Host on Render.

Railway

Railway runs the release image from its published template. Deploy on Railway, then follow Host on Railway.

Fly.io

Fly.io runs the release image on one Machine from a launch configuration. See Host on Fly.io.

Koyeb

Koyeb runs the release image once you create its volume in the dashboard. See Host on Koyeb.

Coolify

Coolify runs a Compose service on a host where you already run Coolify. See Host on Coolify.

DigitalOcean App Platform

App Platform has no persistent volumes, and none of its three storage paths keeps a whole install. Use a Droplet instead, as Host on DigitalOcean explains.

A machine of your own

Any Linux machine that accepts cloud-init user data runs the release image under systemd, with Docker and its firewall policy. See Host on your own machine. To install the server preset instead, see Host on a server with root.

Connect after deployment

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.

Check that the service is ready:

shell
curl -fsS https://<service-address>/healthz

It answers with "status":"ok". Then run a command through the CLI:

shell
# Point the CLI at the service.
export HERMITBOX_API_URL=https://<service-address>
export HERMITBOX_API_KEY=<api-key>

# Run a command in a new sandbox.
hermitbox run -- echo hello

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. For other callers, see Connect to your install.

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. The platform files attach no nested engine or KVM.

On an ordinary container, the default process tier requires Landlock and seccomp. The image refuses to start 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.

Shared UID workloads must trust each other. Internet-enabled process workloads share host networking, even with separate UIDs. User namespaces and writable cgroups are not assumed. See process tier.

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.

The process path has no container images and no browser or desktop templates. Process sleep keeps memory while the supervisor survives; after a platform restart, a sandbox starts a fresh process from its retained files.

Wasm runs on x86_64 beside the process tier where its probe passes, and HERMITBOX_RUNTIME=wasm serves it alone. It has a virtual kernel, a shared sidecar and its limits, and it never substitutes for a requested process policy.

The container tier needs an engine and the host firewall, which these managed-service templates lack. 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 establishes Landlock ABI, seccomp, user namespaces and cgroup delegation there.

How this is tested

CI runs the image built from the checkout in six container envelopes: one per managed platform above 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.

Each envelope passes the welcome page’s secrecy, the authenticated details, all six caller blocks, and key retention across a restart without logging the key again. The envelopes reproduce each platform’s container settings under Docker; they don’t test a provider’s kernel.

CI also runs each platform’s own validator where one works without an account (control/tools/hosting-validate.ts). These files create no account and publish no template, button or catalog entry; where a platform needs a published template, its owner publishes it.

Platform Validation in CI Live deployment
Render Render’s own JSON Schema, the image envelope and the six caller blocks Not tested
Railway The container envelope and caller blocks; the published template deployed and answered /healthz on Railway on 2026-11-29 Deployed once
Fly.io The TOML parse, the container envelope and caller blocks, which do not emulate a Fly microVM; Fly’s remote validator needs an app and an account (its source) Not tested
DigitalOcean App Platform None: App Platform has no stateful image to test Not tested
Koyeb The ordinary container envelope and caller blocks, which do not test Koyeb’s kernel; no account-free service validator is documented Not tested
Coolify Docker Compose’s own config validator with generated values, the container envelope and the caller blocks Not tested
Own machine cloud-init’s own schema, and a boot of 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 Not tested
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