mirror of
https://github.com/docker/docs.git
synced 2026-06-19 07:35:16 +00:00
sbx: add droid agent
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -54,6 +54,7 @@ see_also:
|
||||
- sbx create codex - Create a sandbox for codex
|
||||
- sbx create copilot - Create a sandbox for copilot
|
||||
- sbx create docker-agent - Create a sandbox for docker-agent
|
||||
- sbx create droid - Create a sandbox for droid
|
||||
- sbx create gemini - Create a sandbox for gemini
|
||||
- sbx create kiro - Create a sandbox for kiro
|
||||
- sbx create opencode - Create a sandbox for opencode
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
name: sbx create droid
|
||||
synopsis: Create a sandbox for droid
|
||||
description: |-
|
||||
Create a sandbox with access to a host workspace for droid.
|
||||
|
||||
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.
|
||||
usage: sbx create droid PATH [PATH...] [flags]
|
||||
options:
|
||||
- name: help
|
||||
shorthand: h
|
||||
default_value: "false"
|
||||
usage: help for droid
|
||||
inherited_options:
|
||||
- name: branch
|
||||
usage: Create a Git worktree on the given branch
|
||||
- name: cpus
|
||||
default_value: "0"
|
||||
usage: |
|
||||
Number of CPUs to allocate to the sandbox (0 = auto: N-1 host CPUs, min 1)
|
||||
- name: debug
|
||||
shorthand: D
|
||||
default_value: "false"
|
||||
usage: Enable debug logging
|
||||
- name: memory
|
||||
shorthand: m
|
||||
usage: |
|
||||
Memory limit in binary units (e.g., 1024m, 8g). Default: 50% of host memory, max 32 GiB
|
||||
- name: name
|
||||
usage: |
|
||||
Name for the sandbox (default: <agent>-<workdir>, letters, numbers, hyphens, periods, plus signs and minus signs only)
|
||||
- name: quiet
|
||||
shorthand: q
|
||||
default_value: "false"
|
||||
usage: Suppress verbose output
|
||||
- name: template
|
||||
shorthand: t
|
||||
usage: |
|
||||
Container image to use for the sandbox (default: agent-specific image)
|
||||
example: |4-
|
||||
# Create in the current directory
|
||||
sbx create droid .
|
||||
|
||||
# Create with a specific path
|
||||
sbx create droid /path/to/project
|
||||
|
||||
# Create with additional read-only workspaces
|
||||
sbx create droid . /path/to/docs:ro
|
||||
see_also:
|
||||
- sbx create - Create a sandbox for an agent
|
||||
@@ -8,7 +8,7 @@ description: |-
|
||||
|
||||
To create a sandbox without attaching, use "sbx create" instead.
|
||||
|
||||
Available agents: claude, codex, copilot, docker-agent, gemini, kiro, opencode, shell
|
||||
Available agents: claude, codex, copilot, docker-agent, droid, gemini, kiro, opencode, shell
|
||||
usage: sbx run [flags] SANDBOX | AGENT [PATH...] [-- AGENT_ARGS...]
|
||||
options:
|
||||
- name: branch
|
||||
|
||||
@@ -3,7 +3,7 @@ synopsis: Create or update a secret
|
||||
description: |-
|
||||
Create or update a secret for a service.
|
||||
|
||||
Available services: anthropic, aws, github, google, groq, mistral, nebius, openai, xai
|
||||
Available services: anthropic, aws, droid, github, google, groq, mistral, nebius, openai, xai
|
||||
|
||||
When no arguments are provided, an interactive prompt guides you through
|
||||
scope and service selection.
|
||||
|
||||
Reference in New Issue
Block a user