mirror of
https://github.com/docker/docs.git
synced 2026-10-25 06:09:46 +03:00
31 lines
1.2 KiB
YAML
31 lines
1.2 KiB
YAML
name: sbx env create
|
|
synopsis: Create a sandbox environment from .sbxenv.yaml
|
|
experimental: true
|
|
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 <PATH>/.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.
|
|
usage: sbx env create [PATH...] [flags]
|
|
options:
|
|
- name: clone
|
|
default_value: "false"
|
|
usage: |
|
|
Override workspace.clone in .sbxenv.yaml (see 'sbx create --clone')
|
|
- name: help
|
|
shorthand: h
|
|
default_value: "false"
|
|
usage: help for create
|
|
inherited_options:
|
|
- name: debug
|
|
shorthand: D
|
|
default_value: "false"
|
|
usage: Enable debug logging
|
|
see_also:
|
|
- sbx env - (Experimental) Manage sandboxes declaratively from a .sbxenv.yaml file
|