mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
cli: docker sandboxes v0.10.1
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -12,6 +12,7 @@ cname:
|
||||
- docker sandbox reset
|
||||
- docker sandbox rm
|
||||
- docker sandbox run
|
||||
- docker sandbox save
|
||||
- docker sandbox stop
|
||||
- docker sandbox version
|
||||
clink:
|
||||
@@ -22,6 +23,7 @@ clink:
|
||||
- docker_sandbox_reset.yaml
|
||||
- docker_sandbox_rm.yaml
|
||||
- docker_sandbox_run.yaml
|
||||
- docker_sandbox_save.yaml
|
||||
- docker_sandbox_stop.yaml
|
||||
- docker_sandbox_version.yaml
|
||||
options:
|
||||
|
||||
40
data/sandbox-cli/docker_sandbox_create_copilot.yaml
Normal file
40
data/sandbox-cli/docker_sandbox_create_copilot.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
command: docker sandbox create copilot
|
||||
short: Create a sandbox for copilot
|
||||
long: |-
|
||||
Create a sandbox with access to a host workspace for copilot.
|
||||
|
||||
The workspace path is required and will be exposed inside the sandbox at the same path as on the host.
|
||||
|
||||
Use 'docker sandbox run SANDBOX' to start copilot after creation.
|
||||
usage: docker sandbox create copilot WORKSPACE
|
||||
pname: docker sandbox create
|
||||
plink: docker_sandbox_create.yaml
|
||||
inherited_options:
|
||||
- option: debug
|
||||
shorthand: D
|
||||
value_type: bool
|
||||
default_value: "false"
|
||||
description: Enable debug logging
|
||||
deprecated: false
|
||||
hidden: false
|
||||
experimental: false
|
||||
experimentalcli: false
|
||||
kubernetes: false
|
||||
swarm: false
|
||||
- option: socket
|
||||
value_type: string
|
||||
description: |
|
||||
Connect to daemon at specific socket path (for development/debugging)
|
||||
deprecated: false
|
||||
hidden: true
|
||||
experimental: false
|
||||
experimentalcli: false
|
||||
kubernetes: false
|
||||
swarm: false
|
||||
deprecated: false
|
||||
hidden: false
|
||||
experimental: false
|
||||
experimentalcli: false
|
||||
kubernetes: false
|
||||
swarm: false
|
||||
|
||||
@@ -4,16 +4,6 @@ long: |-
|
||||
Run an agent in a sandbox. Create the sandbox if it does not exist.
|
||||
|
||||
Pass agent arguments after the "--" separator.
|
||||
|
||||
Examples:
|
||||
# Create and run a sandbox with claude in current directory
|
||||
docker sandbox run claude .
|
||||
|
||||
# Run an existing sandbox
|
||||
docker sandbox run existing-sandbox
|
||||
|
||||
# Run a sandbox with agent arguments
|
||||
docker sandbox run claude . -- -p "What version are you running?"
|
||||
usage: docker sandbox run SANDBOX [-- AGENT_ARGS...] | AGENT WORKSPACE [-- AGENT_ARGS...]
|
||||
pname: docker sandbox
|
||||
plink: docker_sandbox.yaml
|
||||
|
||||
51
data/sandbox-cli/docker_sandbox_save.yaml
Normal file
51
data/sandbox-cli/docker_sandbox_save.yaml
Normal file
@@ -0,0 +1,51 @@
|
||||
command: docker sandbox save
|
||||
short: Save a snapshot of the sandbox as a template
|
||||
long: |-
|
||||
Save a snapshot of the sandbox as a template.
|
||||
|
||||
By default, the image is loaded into the host's Docker daemon (requires Docker to be running).
|
||||
Use --output to save the image to a tar file instead.
|
||||
usage: docker sandbox save SANDBOX TAG
|
||||
pname: docker sandbox
|
||||
plink: docker_sandbox.yaml
|
||||
options:
|
||||
- option: output
|
||||
shorthand: o
|
||||
value_type: string
|
||||
description: |
|
||||
Save image to specified tar file instead of loading into host Docker
|
||||
deprecated: false
|
||||
hidden: false
|
||||
experimental: false
|
||||
experimentalcli: false
|
||||
kubernetes: false
|
||||
swarm: false
|
||||
inherited_options:
|
||||
- option: debug
|
||||
shorthand: D
|
||||
value_type: bool
|
||||
default_value: "false"
|
||||
description: Enable debug logging
|
||||
deprecated: false
|
||||
hidden: false
|
||||
experimental: false
|
||||
experimentalcli: false
|
||||
kubernetes: false
|
||||
swarm: false
|
||||
- option: socket
|
||||
value_type: string
|
||||
description: |
|
||||
Connect to daemon at specific socket path (for development/debugging)
|
||||
deprecated: false
|
||||
hidden: true
|
||||
experimental: false
|
||||
experimentalcli: false
|
||||
kubernetes: false
|
||||
swarm: false
|
||||
deprecated: false
|
||||
hidden: false
|
||||
experimental: false
|
||||
experimentalcli: false
|
||||
kubernetes: false
|
||||
swarm: false
|
||||
|
||||
Reference in New Issue
Block a user