31
Clones a GitHub repository into the workspace when the sandbox is created, and lets git fetch from and push to that repository only.
| Name | Required | Default | Description |
|---|---|---|---|
dir | Optional | /home/agent/workspace | Absolute directory to clone into |
repo | Required | — | GitHub repository to clone, as owner/name |
[email protected]| Type | Required | Description | |
|---|---|---|---|
com.docker.sandbox/network-policy@2 | Required | — | |
com.docker.sandbox/credential@1 | Optional | GitHub token to clone and push to the repository | |
com.docker.sandbox/lifecycle@1 | Required | — | |
com.docker.sandbox/agent-context@1 | Required | — | |
sbx run <agent> --kit djordjelukic1639080/cbx-example-github-repo:1 --set repo=<repo>Run the following command to install sbx on your machine.
brew install docker/tap/sbxwinget install Docker.sbx