sbx port ls
| 内容説明 | List published ports |
|---|---|
| 利用方法 | sbx port ls SANDBOX [flags] |
Description
List the published ports of a sandbox.
With --cloud: List the exposed ports of a cloud sandbox given by ID (sbx_*) or name, each with its publicly reachable URL.
Options
| オプション | デフォルト | 内容説明 |
|---|---|---|
--format | Output format: table, json or yaml | |
--json | Output in JSON format |
Global options
| オプション | デフォルト | 内容説明 |
|---|---|---|
--cloud | Dispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list) | |
-D, --debug | Enable debug logging | |
--no-input | Never prompt; commands that need an answer fail with the command to run instead |
Examples
sbx port ls my-sandbox
# Machine-readable output
sbx port ls my-sandbox --format json