BCDock documentation¶
BCDock is a managed Business Central sandbox platform. Two ways in:
- Portal - point-and-click for consultants, trainers, and sales engineers. Sign up, pick a BC version + region, click create.
- CLI -
bcdockfor developers, CI pipelines, and AI agents. The same Platform API the portal uses.
For pricing and signup go to bcdock.io; to sign in go to app.bcdock.io.
Where to start¶
-
Use the portal
Sign in, pick a BC version, click create. No CLI required.
-
Use the CLI
curl ... | sh, thenbcdock auth login, thenbcdock env create --wait. -
Integrate an agent
Set
BCDOCK_TOKEN, point Claude / Copilot at the CLI, ship a working AL extension end-to-end.
Common scenarios¶
Pick the closest match to what you're trying to do:
-
Spin up a demo for a client
Create it in the portal the day before, rehearse, hibernate it, and resume it before the meeting.
-
Develop and ship an AL extension
Four CLI verbs: pull symbols, compile, publish, generate
launch.json. Works from any terminal, no VS Code required. -
Run a training cohort
Create an environment per trainee ahead of class, hibernate them between sessions, and resume them before each one.
-
PR-per-branch environments in CI
GitHub Actions creates a fresh env per pull request, runs tests against it, hibernates between pushes, deletes on close.
-
Drive BCDock from Claude / Copilot
Set
BCDOCK_TOKEN, point your agent at thebcdockCLI. Provision, compile, publish, verify, hibernate - all from natural-language prompts. -
Test across BC versions
Spin up envs at multiple versions in parallel, compile and publish to each, diff the results. Cheap to leave hibernated between rounds.
CLI reference¶
- CLI install - install paths for macOS, Linux, Windows
- CLI authentication - API keys vs JWT, when to use each
- CLI concepts - pool vs environment, hibernation, billing model
- CLI exit codes - what each code means, what your script should do
- Command reference - every verb, auto-generated from the binary
What BCDock is - and isn't¶
BCDock manages environments (BC Docker containers) running on pools (Azure VMs we operate). One pool hosts as many environments as fit its memory. We never stop pools; we hibernate environments to blob storage when you don't need them, and resume on demand.
It is not Business Central SaaS. It is a sandbox infrastructure for development, testing, training, demos, and CI - explicitly not for production data. Honest comparison: reference/limitations.
Audience¶
If you're a:
- BC consultant, trainer, or sales engineer - start with the Portal quickstart. For evaluation and pricing, see bcdock.io.
- Developer or DevOps engineer - start with the CLI quickstart. Every portal action has a CLI verb against the same Platform API.
- Integrating an AI agent that runs BC code - start with the Agent quickstart. Set
BCDOCK_TOKENfromapp.bcdock.io/profile/api-keysand point Claude or Copilot atbcdock.