Share feedback
Answers are generated based on the documentation.

sbx env create

DescriptionCreate a sandbox environment from .sbxenv.yaml
Usagesbx env create [PATH...] [flags]

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

Read the environment file from PATH (default: current directory), provision its declared secrets at the sandbox scope, merge its credential bindings, and create the sandbox. Use "sbx env run" to attach.

Each PATH may be a directory (the file is /.sbxenv.yaml) or the path to the environment file itself. Passing more than one PATH deep-merges them in order (docker-compose -f semantics): later files override earlier ones. Values may reference environment variables with ${VAR} / $VAR (and ${VAR:-default}); see the docs for the full syntax.

Options

OptionDefaultDescription
--cloneOverride workspace.clone in .sbxenv.yaml (see 'sbx create --clone')

Global options

OptionDefaultDescription
-D, --debugEnable debug logging