mirror of
https://github.com/docker/docs.git
synced 2026-11-04 10:01:00 +00:00
Vendor the checked-in CLI YAML from Docker Sandboxes release/v0.51 at 7d55286de0c7. This updates command help, adds `sbx policy check http`, and replaces seven agent-specific create pages with redirects to `sbx create`. Validation: full site build with Hugo 0.169.0; upstream byte-for-byte comparison; all 115 command pages, reference links, and seven redirects checked; template formatting and whitespace checks passed.
37 lines
1.3 KiB
YAML
37 lines
1.3 KiB
YAML
name: sbx volume
|
|
synopsis: Manage persistent volumes (cloud-only)
|
|
description: |-
|
|
Manage persistent volumes for cloud sandboxes.
|
|
|
|
Volumes provide persistent storage that survives across sandbox runs.
|
|
Data is saved as a snapshot when a sandbox exits, not continuously
|
|
synced. If multiple sandboxes mount the same volume concurrently, the
|
|
last sandbox to exit wins — its snapshot overwrites the others.
|
|
|
|
Volumes are a cloud-only feature; every subcommand requires --cloud.
|
|
usage: sbx volume COMMAND
|
|
options:
|
|
- name: help
|
|
shorthand: h
|
|
default_value: "false"
|
|
usage: help for volume
|
|
inherited_options:
|
|
- name: cloud
|
|
default_value: "false"
|
|
usage: |
|
|
Dispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list)
|
|
- name: debug
|
|
shorthand: D
|
|
default_value: "false"
|
|
usage: Enable debug logging
|
|
- name: no-input
|
|
default_value: "false"
|
|
usage: |
|
|
Never prompt; commands that need an answer fail with the command to run instead
|
|
see_also:
|
|
- sbx - Manage AI coding agent sandboxes.
|
|
- sbx volume create - Create a new persistent volume
|
|
- sbx volume inspect - Show volume details
|
|
- sbx volume ls - List persistent volumes
|
|
- sbx volume rm - Remove a persistent volume
|