Skip to content

bcdock env

bcdock env

Manage Business Central environments

Synopsis

Create, list, inspect, and delete BC environments.

Config discovery: BC versions with a pre-built VM image (~7-15 min provisioning on a warm pool) are called "fast configs". Versions without one trigger a ~78 min image build on first use - usually not what you want. Always prefer fast configs unless you explicitly need a specific version.

bcdock artifacts list --region --fast-only # browse fast configs in a region bcdock env create # interactive picker (fast configs only)

Exit codes: 0 ok 1 general error

Examples

  bcdock env create --name my-env --version 25.5 --country au --region westus2 --wait
  bcdock env list -o json
  bcdock env get my-env
  bcdock env delete my-env --force

Options

  -h, --help   help for env

Options inherited from parent commands

      --api-url string     API base URL (env: BCDOCK_API_URL)
      --no-color           Disable colored output
  -o, --output string      Output format: table, json, csv (default "table")
  -q, --quiet              Suppress non-essential output
      --timeout duration   Request timeout (default 30s)
      --token string       API token (env: BCDOCK_TOKEN)

SEE ALSO