Share feedback
Answers are generated based on the documentation.

sbx policy reset

内容説明Reset policies to defaults
利用方法sbx policy reset [flags]

Description

Remove all custom policies and restart the daemon to restore defaults.

This deletes the local policy store and stops the daemon. The daemon restarts automatically on the next command, then prompts you to initialize the global network policy again.

If sandboxes are currently running, they will be stopped when the daemon shuts down. You will be prompted for confirmation unless --force is used.

With --cloud, deletes the custom cloud network policy for your account and leaves the local daemon alone. You will be prompted for confirmation unless --force is used. Afterwards the default the server now stores is printed.

Options

オプションデフォルト内容説明
-f, --forceSkip confirmation prompt

Global options

オプションデフォルト内容説明
--cloudDispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list)
-D, --debugEnable debug logging

Examples

# Reset policies — prompts if sandboxes are running
sbx policy reset

# Reset policies without confirmation
sbx policy reset --force