Share feedback
Answers are generated based on the documentation.

docker sandbox create cagent

内容説明Create a sandbox for cagent
利用方法docker sandbox create cagent WORKSPACE [EXTRA_WORKSPACE...]

内容説明

警告

The Docker Desktop-integrated docker sandbox commands are deprecated and replaced by the standalone sbx CLI. This deprecation applies only to the Docker Desktop integration, not to Docker Sandboxes.

Create a sandbox with access to a host workspace for cagent.

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 cagent after creation.

利用例

Create a Cagent sandbox in the current directory

$ docker sandbox create cagent .

Create with an absolute path

$ docker sandbox create cagent /home/user/my-project

Create and then run

$ docker sandbox create --name my-cagent cagent ~/my-project
$ docker sandbox run my-cagent