mirror of
https://github.com/docker/docs.git
synced 2026-10-26 18:10:01 +03:00
Docker Desktop sandboxes and docker sandbox CLI reference pages needed to be marked deprecated while removing sbx experimental callouts. Updated sandbox docs, retired products listing, and sandbox CLI metadata so the deprecated state is reflected consistently. Generated by Codex Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
67 lines
1.9 KiB
YAML
Generated
67 lines
1.9 KiB
YAML
Generated
command: docker sandbox create opencode
|
|
short: Create a sandbox for opencode
|
|
long: |-
|
|
> [!WARNING]
|
|
> The Docker Desktop-integrated `docker sandbox` commands are deprecated and
|
|
> replaced by the standalone [`sbx` CLI](/manuals/ai/sandboxes/_index.md).
|
|
> This deprecation applies only to the Docker Desktop integration, not to Docker
|
|
> Sandboxes.
|
|
|
|
Create a sandbox with access to a host workspace for opencode.
|
|
|
|
The workspace path is required and will be exposed 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 'docker sandbox run SANDBOX' to start opencode after creation.
|
|
usage: docker sandbox create opencode WORKSPACE [EXTRA_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
|
|
examples: |-
|
|
### Create an OpenCode sandbox in the current directory
|
|
|
|
```console
|
|
$ docker sandbox create opencode .
|
|
```
|
|
|
|
### Create with an absolute path
|
|
|
|
```console
|
|
$ docker sandbox create opencode /home/user/my-project
|
|
```
|
|
|
|
### Create and then run
|
|
|
|
```console
|
|
$ docker sandbox create --name my-opencode opencode ~/my-project
|
|
$ docker sandbox run my-opencode
|
|
```
|
|
deprecated: false
|
|
hidden: false
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
|