Usage
Take a checkpoint, then start as many Sailboxes from it as you like:checkpoint
returns its existing checkpoint. Starting several copies from one checkpoint
reuses the same checkpoint data, so only the first copy pays for it.
Fan out to many
Set up one Sailbox (install dependencies, warm caches, start servers), checkpoint it, and start every worker from that checkpoint instead of repeating the setup in each one. This is the fast path to a fleet for agent rollouts, parallel test shards, or grading many submissions at once.What a copy gets
- The disk and the memory. Processes the original was running carry on.
A command started with
execstops in the copy, though its writes up to the checkpoint are kept; one started in the background keeps running. Start anything else the copy needs again. - A new identity and new networking. Open TCP connections are reset, and the copy inherits no exposed ports; expose the ones it should serve.