bcdock env wait
bcdock env wait¶
Block until an environment reaches one of the requested states
Synopsis¶
Wait for an environment to reach a desired status, polling every 3 seconds.
Exit codes: 0 one of --status values reached 124 timeout elapsed without the env reaching any requested state 5 environment not found
Examples: bcdock env wait my-env --status running --timeout 30m bcdock env wait my-env --status running --status failed --timeout 30m
Options¶
-h, --help help for wait
--status stringArray Status to wait for (repeatable: running, failed, hibernated, deleted, ...)
--timeout duration Max time to wait (default 30m0s)
Options inherited from parent commands¶
--api-url string API base URL (overrides BCDOCK_API_URL env var)
--no-color Disable colored output
-o, --output string Output format: table, json, csv (default "table")
-q, --quiet Suppress non-essential output
--token string API token (overrides BCDOCK_TOKEN env var)
SEE ALSO¶
- bcdock env - Manage Business Central environments