bdy sandbox create
$bdy sandbox create|add [options]
Create a new sandbox. Pre-installed tools: node 24, docker 29, go 1.25, python 3, git, curl, wget, jq, rsync, ripgrep, unzip, nano, bdy Required scopes: SANDBOX_WRITE
Examples
Create ubuntu 22.04 sandbox with name and wait for start
bdy sb create -n "name" --os ubuntu:22.04 --wait-for-running$Create sandbox with identifier, run install commands and wait for start & commands to complete
bdy sb create -i "test" --boot-command "apt-get update && apt-get install nginx -y" --wait-for-configured$Run commands from the file
bdy sb create --boot-script /path/to/file$Create sandbox with custom resources and tag it
bdy sb create --resources 4x8 --tag "tag1" --tag "tag2"$Create sandbox and fetch project repository from default branch to working directory
bdy sb create --fetch$Create sandbox and fetch project repository branch
bdy sb create --fetch feature-branch$Create sandbox and fetch public repository
bdy sb create --fetch "path=/home/buddy/repo,url=https://public-repo.com,ref=feature-branch"$Create sandbox and fetch artifact
bdy sb create --fetch "path=/home/buddy/repo,artifact=name@version"$Create sandbox named after the fetched repository and branch ("Hello-World master")
bdy sb create --fetch "url=https://github.com/octocat/Hello-World.git,ref=master"$Create sandbox, fetch project repo branch and build
bdy sb create --fetch "path=/home/buddy/repo,ref=branch,build=npm install && npm run build"$Create sandbox and pass custom variables
bdy sb create -v key:val -v a:b$Create sandbox and pass custom variables from file
bdy sb create --vf path/to/env/file$Create sandbox from yaml file
bdy sb create --yaml @./test.yml"$Return the result as JSON
bdy sandbox create --format json$Create http endpoint on port 80 (http server must listen on 0.0.0.0)
bdy sb ep create sandbox-identifier -e 80$Create http server and serve files from sandbox directory
bdy sb ep create sandbox-identifier -s /path/to/dir$Create tcp endpoint on port 22 with name (tcp server must listen on 0.0.0.0)
bdy sb ep create sandbox-identifier -t TCP -e 22 -n test$Return the result as JSON
bdy sandbox endpoint add my-sandbox --name web --type HTTP --endpoint 8080 --format json$