sbx policy check
| Description | Check whether policy allows an access request |
|---|---|
| Usage | sbx policy check COMMAND |
Description
Check whether the current sandbox policy would authorize an access request.
The check is read-only and evaluates the same daemon-side policy authorizer used by sandbox network enforcement.
Commands
| Command | Description |
|---|---|
sbx policy check network | Check network access to a host |
Global options
| Option | Default | Description |
|---|---|---|
--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) | |
--cloud-api-url | https://api.sandboxes-cloud.docker.com | Cloud Sandboxes API base URL; only used with --cloud. Defaults to prod (https://api.sandboxes-cloud.docker.com). Set DOCKER_CLOUD_API_URL or pass this flag to override; a legacy value ending in /v1 is accepted. |
-D, --debug | Enable debug logging |