What’s kept and what ends
Start again after a stop
Running a command, connecting, or using files from the SDK starts a stopped Devbox, so you rarely need to start it by hand. On start, the Devbox brings its services and blueprint sessions back up. The init script doesn’t run again. It runs only when the Devbox is first created.Snapshots
Each stop saves a snapshot of the disk. Each snapshot is a new version, such as V1, V2, and V3, and stores only what changed since the version before it.- A running Devbox can’t be snapshotted.
- Snapshots cover the disk only. Memory and running processes aren’t saved.
- Snapshots exist only as long as the Devbox does.
Snapshots are available on Linux and macOS Devboxes, not yet on Windows.
List a Devbox’s snapshots
Start from an earlier snapshot
Starting a Devbox uses its latest snapshot. Pass a snapshot ID to start from an earlier version instead, for example to undo changes your agent made. Later versions are kept, and the next stop saves a new one.Ephemeral Devboxes
If nothing needs to survive, turn on ephemeral to create a Devbox for a single run, such as an agent task or a CI job. When it stops, including on idle timeout or maximum duration, its disk is deleted.devbox download before it stops. To make every Devbox from a blueprint ephemeral, set it on the blueprint.
A stopped ephemeral Devbox keeps its name and settings for a while, so starting it again gives you a fresh disk. After that, the Devbox is gone.
Windows: Devboxes are ephemeral only during early access.
Related
- Lifecycle to create, stop, start, and delete Devboxes.
- Run commands for command output and background commands.
- Long running tasks to keep a Devbox awake while work runs.