Creating a Sandbox
oc create (shortcut for oc sandbox create) provisions a new sandbox VM:
--json to capture it programmatically:
Listing & Inspecting
oc ls shows a table with ID, template, status, CPU, memory, and age. Add --json for machine-readable output.
Hibernation & Wake
Save state and stop paying for compute. Wake resumes the same sandbox — the platform attempts fast snapshot restore with a cold-boot fallback if needed.Adjusting Timeout
The idle timeout resets on every operation (exec, file access, agent activity). Default:0 — persistent, never auto-hibernates. Set a positive value (or 0 to disable) with oc sandbox set-timeout.