Files
laboratori-cloud/scripts/reset-env.sh
Luca Sacchi Ricciardi 9b90ed2169 feat(01-01): add environment reset script (reset-env.sh)
- Stops all containers and removes user-created networks/volumes
- Interactive mode requires user confirmation before destructive operations
- --dry-run flag shows what would be deleted without actually deleting
- Preserves Docker default networks (bridge, host, none)
- Does NOT remove Docker images
- Color-coded output and clear warning messages
- Exit code 0 on success, 1 on cancellation or error

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 19:52:24 +01:00

6.8 KiB
Executable File