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

Choose where to host Hermitbox

7 min readv0.3.2this 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

A managed platform gives Hermitbox HTTPS and a public address, with no machine to look after. A Linux machine of your own also lets sandboxes run container images and virtual machines. Every option keeps one state volume and serves Hermitbox on port 8080, with readiness at /healthz.

How to choose

You want Use Sandboxes run on
HTTPS and a public address, with no machine to run Render, Railway, Fly.io or Koyeb Process, and Wasm where its probe passes
Hermitbox beside your apps on a Coolify host Coolify Process, and Wasm where its probe passes
Containers, gVisor and virtual machines, with HTTPS for your domain A server with root Containers and process sandboxes; gVisor on x86_64; virtual machines on x86_64 with KVM
A cloud machine that sets itself up from cloud-init Your own machine or a DigitalOcean Droplet Containers
One container on a host you already run The release image Process and Wasm where their probes pass; containers where the host’s engine is usable

A container engine turns on images, and KVM turns on virtual machines. No managed platform template attaches either, so for those, use a machine you control.

Platform notes

The templates name the release image by version, 0.3.2. 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.

Render

One Blueprint deploys the repository Dockerfile with a state disk and managed Postgres. Deploy on Render, then follow Host on Render.

Railway

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

Fly.io

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

Koyeb

Koyeb runs the release image once you create its volume in the dashboard; its deploy button can’t attach one. See Host on Koyeb.

Coolify

Coolify runs Hermitbox as a Docker 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 with cloud-init 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 (Docker, nftables, systemd units and, with a domain, managed TLS), see Host on a server with root. For the release image with docker run on any container host, see Deploy the release image.

Connect after deployment

Open the service’s HTTPS address. Its page shows where to find the key and how to connect; enter the key to see this install’s caller examples. The page keeps the key 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 the platform templates (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.

In an ordinary container, the default process tier requires Landlock and seccomp, and the image refuses to start when it can’t enforce that floor. Running as root gives each sandbox its own UID. An ordinary service user gives shared UID isolation, which is weaker, and Hermitbox reports it.

Workloads that share a UID must trust each other. Process workloads with internet access share the host’s network, even with separate UIDs. User namespaces and writable cgroups are not assumed. See process tier.

No platform name proves a kernel capability, and a provider can change its kernel without changing a template. Only a live probe establishes Landlock ABI, seccomp, user namespaces and cgroup delegation. The welcome page reports the configured default isolation and says that it doesn’t show the host probe report. Node admission refuses requests it can’t 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.

What each tier gives on these platforms:

  • Process. 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 stands in for a requested process policy.
  • Container. Needs an engine and the host firewall, which these managed-service templates lack.
  • VM. Off: no template attaches a KVM device.

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