Capy Dock
A dedicated Capy device with interactive pairing and a saved home for threads.
- agents
- sandbox
Guide: Run Capy Dock on Briq
Run it
briq run capy-dockbriq_run({ recipe: "capy-dock", wait: true })curl -X POST https://api.briq.cloud/v1/briqs \
-H "Authorization: Bearer $BRIQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"recipe": "capy-dock",
"wait": true
}'
# → { "briqs": [{ "id": "bq_…", … }], "outputs": { "HOME": "…" }, … }
# ... when done, for each briq id
curl -X DELETE https://api.briq.cloud/v1/briqs/<id> \
-H "Authorization: Bearer $BRIQ_API_KEY"stack: app
services:
dock:
recipe: capy-dock
# its defaults, each a field you can set:
# image: ghcr.io/briq-cloud/sandbox:latest
# size: small
# volume: { gb: 5 }Fields
| Name | Type | Options | Default |
|---|---|---|---|
| image | string | — | "ghcr.io/briq-cloud/sandbox:latest" |
| size | enum | pico, micro, nano, small, medium, large, xlarge | "small" |
| volume | object | { gb? } | {"gb":5} |
| egress | object | { hosts } | — |
Outputs
Returned by briq_run once the stack is healthy. Hosts resolve inside your team network; secrets are generated per run.
- HOME
- /home/capy
- WORKTREES
- /home/capy/.capy/worktrees
What it runs
| Briq | Image | Ports | Size | Volume |
|---|---|---|---|---|
| dock | ghcr.io/briq-cloud/sandbox:latest | — | small | 5 GB at /home/capy |
When to use it
- Run Capy threads on a Briq sandbox instead of your laptop.
- Keep one device identity, repository clones and worktrees through restarts.
- Share one sandbox's compute across trusted Capy threads.
Tips
- Pair it yourself: follow Run Capy Dock in your own interactive terminal.
- Expect an offline device first: recipe readiness means the supervisor is ready, not that Dock is paired.
- Keep the home:
/home/capyholds the install, identity, repositories and~/.capy/worktrees. - Trust both audiences: Briq team credentials and Capy device access can reach the saved identity and files.
- Push work off the Briq: this volume cannot be forked or backed up. Destroying the Briq deletes local commits too.
- Choose a sleep policy: Capy's outbound traffic does not keep a Briq awake. Always-on requires an eligible plan.
- Use no public endpoint: Dock connects outbound. This recipe exposes no port.