oc create (shortcut for oc sandbox create) provisions a new sandbox VM:12oc create oc create --timeout 600 --cpu 2 --memory 2048 --env NODE_ENV=production
--json to capture it programmatically:1ID=$(oc create --json | jq -r '.sandboxID')
12345# List all sandboxes oc ls # Detailed info for a specific sandbox oc sandbox get sb-abc123
oc ls shows a table with ID, template, status, CPU, memory, and age. Add --json for machine-readable output.12345oc sandbox hibernate sb-abc123 # ... hours later ... oc sandbox wake sb-abc123 oc shell sb-abc123
1oc sandbox set-timeout sb-abc123 3600 # 1 hour
1oc sandbox kill sb-abc123
1oc shell $(oc create --json | jq -r '.sandboxID')
1oc ls --json | jq '.[] | select(.status == "running") | .sandboxID'
1oc ls --json | jq -r '.[].sandboxID' | xargs -I{} oc sandbox kill {}