Share feedback
Answers are generated based on the documentation.

sbx setup

DescriptionDetect host configuration and prepare Docker Sandboxes
Usagesbx setup [COMMAND]

Experimental

This command is experimental.

Experimental features are intended for testing and feedback as their functionality or design may change between releases without warning or can be removed entirely in a future release.

Description

Detect what is already configured on your host and prepare Docker Sandboxes.

Agent secrets are detected from the built-in agent kit specs and the env vars set on this host, and accepted secrets are imported into the global secrets store (the same store as "sbx secret set"). When SSH_AUTH_SOCK is set, setup can enable SSH-agent forwarding and either use each client's current socket or persist a fixed socket path.

Commands

CommandDescription
sbx setup sshexperimental Set up SSH client config for the sandbox endpoint

Global options

OptionDefaultDescription
--cloudDispatch 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-urlhttps://api.sandboxes-cloud.docker.comCloud 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, --debugEnable debug logging