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
description: Drive the a3s-box microVM sandbox CLI — a Docker-like runtime that runs OCI/container images in hardware-isolated microVMs (libkrun). Use when the user wants to run, build, exec into, snapshot, or tear down containers with a3s-box, sandbox untrusted or agent-generated code, spin up throwaway isolated environments, or mentions a3s-box / microVM / libkrun / "run this safely in a sandbox". Teaches the box lifecycle, the `--` argv separator, the networking model, and error recovery. Not for plain Docker/Podman (different CLI, same verbs).
3
+
description: Drive the a3s-box microVM sandbox CLI - a Docker-like runtime that runs OCI/container images in hardware-isolated microVMs (libkrun). Use when the user wants to run, build, exec into, snapshot, or tear down containers with a3s-box, sandbox untrusted or agent-generated code, spin up throwaway isolated environments, or mentions a3s-box / microVM / libkrun / "run this safely in a sandbox". Teaches the box lifecycle, the `--` argv separator, the networking model, and error recovery. Not for plain Docker/Podman (different CLI, same verbs).
|`Box X is not running`| stopped/created/dead →`a3s-box start X`; if just run, it died on boot →`inspect`/`logs X`|
71
-
|`Box X is not running (status: dead)`| PID 1 exited →`a3s-box inspect X` (`.State.ExitCode`); run a long-lived command |
72
-
|`No such box: X`| wrong ref →`a3s-box ps -a` to find name/id |
73
-
|`WARN … heartbeat failed, exec will not be available`| guest booted but exec channel never came up → unhealthy; `logs X`, recreate |
74
-
|`libkrun call failed status=-17 … krun_add_vsock_port2` / `VM boot failed`| started an already-running/stale box →`a3s-box ps`; if running just `exec`; if wedged `stop X` then `start X`|
|`Box X is not running`| stopped/created/dead ->`a3s-box start X`; if just run, it died on boot ->`inspect`/`logs X`|
71
+
|`Box X is not running (status: dead)`| PID 1 exited ->`a3s-box inspect X` (`.State.ExitCode`); run a long-lived command |
72
+
|`No such box: X`| wrong ref ->`a3s-box ps -a` to find name/id |
73
+
|`WARN ... heartbeat failed, exec will not be available`| guest booted but exec channel never came up -> unhealthy; `logs X`, recreate |
74
+
|`libkrun call failed status=-17 ... krun_add_vsock_port2` / `VM boot failed`| started an already-running/stale box ->`a3s-box ps`; if running just `exec`; if wedged `stop X` then `start X`|
75
75
76
76
## Core commands (non-obvious; full verb list: `a3s-box --help`)
77
77
78
78
| Goal | Command |
79
79
|---|---|
80
80
| Run one command, throwaway |`a3s-box run --rm alpine -- echo hi`|
81
-
| Create then start |`a3s-box create --name w nginx`→`a3s-box start w`|
0 commit comments