celld engines and the Docker socket experiment
The native seam is in integrations/celld/upstream,
based on public celld 0.6.3 at 8702f6d186c77698dbfb30cf29e3b1922a88f008. It keeps celld’s
coordinator and default Docker implementation and adds a hermitbox public-API implementation.
CI builds the patched public source and runs celld’s own container example through both its
local engine and the native hermitbox backend; all 30 samples complete for both engines.
The native backend supports celld’s single-node development store. Distributed ownership is refused until a remote fencing protocol is designed and proven. Host policy owns isolation; local runtime/DNS overrides, root signals and exec are explicit unsupported operations. Creation is sent once, with its key durably recorded first; an uncertain reply blocks replacement. Existing remote compute must be deleted and absent before a replacement. The project key stays only in the service environment and memory. Production images must already be available through a permitted registry reference; local CI shares the dev image store.
Native comparison
CI measures 30 starts and first HTTP requests for each engine on the same host, from the same
patched celld 0.6.3 executable built with the development profile, debug information and
incremental compilation disabled. The Worker, Python server, Dockerfile and class configuration
are unchanged from the public release. Each cell’s cleanup is outside its timer. CI keeps every
sample, failed cohorts included, in celld-native-measurements.json. On one two-core Intel Xeon
Platinum 8370C host running Linux 7.0.0-1017-azure, with n=30 for every row and backend (p50 is
the sorted upper median, p90 the nearest-rank observation):
| operation | local engine p50 / p90 ms | native hermitbox p50 / p90 ms |
|---|---|---|
| backend start | 142.00 / 154.00 | 215.00 / 233.00 |
| start through first HTTP response | 1881.78 / 1889.72 | 1274.87 / 1284.34 |
| warm HTTP response | 5.50 / 5.72 | 5.74 / 7.24 |
The native backend adds 79 ms to backend-start p90 and 1.52 ms to warm-response p90 on this host. Its start-through-first-response sample is lower; that includes celld’s readiness and polling sequence, and is not attributed to an isolated transport or kernel optimization. These figures are for this host only.
Docker socket experiment
The separate Unix socket spike is unshipped and
absent from node features and package exports. It implements _ping and version discovery using
API version facts read from the baseline engine. Unsupported operations answer 501 explicitly.
It does not import arbitrary image tars, start privileged fence containers or relax host policy.
celld’s engine builds and loads images and installs a privileged host-network fence; those
operations have no public sandbox API equivalent, and a Unix listener alone cannot safely make
that engine compatible. CI runs the unchanged release and its own example with DOCKER_HOST
pointed at the private mode-0600 socket and keeps the requests, exit status and output in
docker-api-spike.json. Discovery passes; the release then fails building its example image,
because BuildKit’s POST /grpc and its buildkit-container inspection receive explicit 501
replies, and it exits 1. This route has no start or first-request samples. No docker-api node
feature is advertised.
$curl -fsSL https://hbx.sh | shInstall Hermitbox and set it up for me