Skip to main content
porter sandbox contains commands for working with sandboxes in your project.

Prerequisites


porter sandbox list

List sandboxes in the current project and cluster. Results are auto-paginated across the API’s pages and sorted most-recent-first. By default, sandboxes in the terminated phase are hidden so the active state stays visible. Clusters can accumulate large numbers of terminated records that drown out anything actionable; the --phase flag overrides this behavior when you need the full history. When stdout is a TTY the default output is a color-coded table. When piped or redirected, output defaults to plain tab-separated rows so it composes cleanly with grep, awk, and cut. Use --output json for machine-readable consumption (scripts, agents). Usage:
porter sandbox list [flags]
Options:
FlagDescription
--phaseFilter by phase: all, queued, creating, running, succeeded, failed, terminated. Defaults to hiding terminated.
--tagFilter sandboxes by tag in key=value form. Repeatable; sandboxes must match every tag provided.
-o, --outputOutput format: table, json, or plain. Defaults to table on a TTY and plain when piped.
porter sandbox list
The --phase flag accepts all to show every sandbox including terminated records. Filtering is case-insensitive.