
Sixty containers on one server
One bare-metal box runs dozens to hundreds of Hoody containers. KSM and BTRFS dedup make the marginal cost near zero.
A snapshot freezes a running container — filesystem, processes, memory, open file descriptors. Restore in 5–15 seconds. Fork into a separate container with one POST. Branching, but for the entire machine.
Each commit is a whole computer · hashes are container IDs · branches are forks of the entire machine state
Two modes, decided by the container's state at snapshot time. Stateful captures everything; stateless is filesystem only.
Snapshots are named alias points. /copy spins up a separate container from any of them — same data, divergent timeline.
# 1) Mark the branch point.
curl -X POST "https://api.hoody.com/api/v1/containers/$CID/snapshots" \
-H "Authorization: Bearer $HOODY_TOKEN" \
-d '["alias": "pre-migration", "expiry": 30]'
# 2) Restore in place — revert this container to the snapshot.
curl -X PATCH "https://api.hoody.com/api/v1/containers/$CID/snapshots/pre-migration" \
-H "Authorization: Bearer $HOODY_TOKEN"
# 3) Fork — spawn a SEPARATE container from the same snapshot.
curl -X POST "https://api.hoody.com/api/v1/containers/$CID/copy" \
-H "Authorization: Bearer $HOODY_TOKEN" \
-d '["target_project_id":"prod","name":"experiment-a","source_snapshot":"pre-migration"]'Restore reverts in place. Copy creates an independent container that lives on its own — different ID, different timeline, your original keeps running. Either way it's bounded; storage is incremental, so cheap.
Three workflows that were impractical with VM snapshots and impossible with docker commit.
Spawn N containers from the same snapshot via /copy — try three migration strategies in parallel, keep the winner.
POST a snapshot before any destructive change. The seven-second restore is your undo button for the entire machine.
Aliases are named branch points. snapshot_count is in the container API. Storage is incremental, so cheap to keep dozens.
If you reach for any of these to recover from a bad change, the snapshot model is doing the same job in 5–15 seconds with one HTTP call.
Git gave you branching for code. Hoody gives you branching for entire computers.