Share feedback
Answers are generated based on the documentation.

sbx create docker-agent

DescriptionCreate a sandbox for docker-agent
Usagesbx create docker-agent PATH [PATH...] [flags]

Description

Create a sandbox with access to a host workspace for docker-agent.

The workspace path is required and will be mounted inside the sandbox at the same path as on the host. Additional workspaces can be provided as extra arguments. Append ":ro" to mount them read-only.

Use "sbx run SANDBOX" to attach to the agent after creation.

Global options

OptionDefaultDescription
--branchCreate a Git worktree on the given branch
-D, --debugEnable debug logging
-m, --memoryMemory limit in binary units (e.g., 1024m, 8g). Default: 50% of host memory, max 32 GiB
--nameName for the sandbox (default: <agent>-<workdir>, letters, numbers, hyphens, periods, plus signs and minus signs only)
-q, --quietSuppress verbose output
-t, --templateContainer image to use for the sandbox (default: agent-specific image)

Examples

# Create in the current directory
sbx create docker-agent .

# Create with a specific path
sbx create docker-agent /path/to/project

# Create with additional read-only workspaces
sbx create docker-agent . /path/to/docs:ro