Share feedback
Answers are generated based on the documentation.

docker sandbox reset

内容説明Reset all VM sandboxes and clean up state
利用方法docker sandbox reset [OPTIONS]

内容説明

Reset all VM sandboxes and permanently delete all VM data.

This command will:

  • Stop all running VMs gracefully (30s timeout)
  • Delete all VM state directories in ~/.docker/sandboxes/vm/
  • Clear image cache in ~/.docker/sandboxes/image-cache/
  • Clear all internal registries

The daemon will continue running with fresh state after reset.

⚠️ WARNING: This is a destructive operation that cannot be undone! All running agents will be forcefully terminated and their work will be lost. Cached image tars will be deleted and will need to be recreated on next use.

By default, you will be prompted to confirm (y/N). Use --force to skip the confirmation prompt.

オプション

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

利用例

Reset with confirmation prompt

$ docker sandbox reset
⚠️  WARNING: This will permanently delete all VM data and stop all running agents!
Are you sure you want to continue? (y/N): y
All VMs reset successfully

Force reset without confirmation (-f, --force)

Skip the confirmation prompt:

$ docker sandbox reset --force
All VMs reset successfully
注意

This is a destructive operation that cannot be undone! All running agents will be terminated and their work will be lost.