command: docker sandbox create gemini
short: Create a sandbox for gemini
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 gemini.

    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 gemini after creation.
usage: docker sandbox create gemini 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 a Gemini sandbox in the current directory

    ```console
    $ docker sandbox create gemini .
    ```

    ### Create with an absolute path

    ```console
    $ docker sandbox create gemini /home/user/my-project
    ```

    ### Create and then run

    ```console
    $ docker sandbox create --name my-gemini gemini ~/my-project
    $ docker sandbox run my-gemini
    ```
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false

