You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**`machine run`** — ephemeral. All changes are discarded when the command exits.
53
59
-**`machine exec`** — persistent. Filesystem changes (package installs, config edits) persist across exec sessions for the same machine, whether bare or image-based. Changes are stored in an overlay on the machine's storage disk.
54
60
-**`machine stop` + `start`** — changes persist across restarts. The persistent overlay is remounted preserving previous changes.
55
-
-**`pack run`** / **`pack exec`** — ephemeral. Each exec starts fresh from the packed image.
61
+
-**`pack run`** — ephemeral. Each run starts fresh from the packed image.
62
+
-**`pack start` + `exec`** — daemon mode. `/workspace` persists across exec sessions and stop/start. Container overlay resets per exec (package installs don't persist — use `/workspace` for durable data).
63
+
-**`machine create --from .smolmachine`** — creates a persistent named machine from a packed artifact. Boots from pre-extracted layers (~250ms, no image pull). Full `machine exec` persistence — package installs, file writes all survive across exec and stop/start.
56
64
57
65
## CLI Structure
58
66
@@ -62,6 +70,7 @@ All commands use named flags (no positional args except `machine create NAME` an
62
70
smolvm machine run --image IMAGE [-- COMMAND] # ephemeral
63
71
smolvm machine exec --name NAME [-- COMMAND] # run in existing VM
64
72
smolvm machine create NAME [OPTIONS] # create persistent
73
+
smolvm machine create NAME --from FILE.smolmachine # from packed artifact
0 commit comments