docker sandbox create codex
| Description | Create a sandbox for codex |
|---|---|
| Usage | docker sandbox create codex WORKSPACE [EXTRA_WORKSPACE...] |
Description
WarningThe Docker Desktop-integrated
docker sandboxcommands are deprecated and replaced by the standalonesbxCLI. This deprecation applies only to the Docker Desktop integration, not to Docker Sandboxes.
Create a sandbox with access to a host workspace for codex.
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 codex after creation.
Examples
Create a Codex sandbox in the current directory
$ docker sandbox create codex .
Create with an absolute path
$ docker sandbox create codex /home/user/my-project
Create and then run
$ docker sandbox create --name my-codex codex ~/my-project
$ docker sandbox run my-codex