1
0
mirror of https://github.com/docker/docs.git synced 2026-10-25 06:09:46 +03:00
Files
docs/data/sbx_cli/sbx_reset.yaml
2026-08-20 10:51:09 +02:00

47 lines
1.4 KiB
YAML

name: sbx reset
synopsis: Reset all sandboxes and clean up state
description: |-
Reset Docker Sandboxes to a freshly-installed state.
This command will:
- Stop all running sandboxes gracefully (30s timeout)
- Clear image cache
- Clear all internal registries
- Delete all sandbox state
- Remove all policies
- Remove the managed SSH configuration
- Clear the Gordon assistant's sessions and history
- Delete all stored secrets
- Sign out of Docker Sandboxes
- Stop the daemon
- Remove all state, cache, and config directories
WARNING: This is destructive and cannot be undone.
Running agents will be terminated and their work lost.
Cached images will be deleted and recreated on next use.
Stored secrets will need to be re-entered.
Use --preserve-secrets to keep stored secrets.
By default, you will be prompted to confirm (y/N).
Use --force to skip the confirmation prompt.
usage: sbx reset [flags]
options:
- name: force
shorthand: f
default_value: "false"
usage: Skip confirmation prompt
- name: help
shorthand: h
default_value: "false"
usage: help for reset
- name: preserve-secrets
default_value: "false"
usage: Keep stored secrets
inherited_options:
- name: debug
shorthand: D
default_value: "false"
usage: Enable debug logging
see_also:
- sbx - Manage AI coding agent sandboxes.