Commit Graph

6 Commits

Author SHA1 Message Date
Michel Abboud
2b07b9cf07 feat: Add ISO cache for winctl.sh to skip re-downloads
Cache downloaded ISOs so new instances of the same Windows version skip
the 3-6 GB download. Adds `winctl cache` subcommands (save/list/rm/flush)
and auto-restores cached ISOs when creating new instances with --new.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 07:58:20 +00:00
Michel Abboud
ba6c915ea4 docs: Add ARM64 setup section and update commands in WINCTL_GUIDE
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 13:39:41 +00:00
Michel Abboud
6a0b6a1511 feat: Add ARM64 architecture auto-detection and image selection
Auto-detect machine architecture via uname and use the correct Docker
image (dockurr/windows for x86, dockurr/windows-arm for ARM64). Block
unsupported versions on ARM with a clear error message, and show
[x86 only] tags in the list command. Compose files now use a
configurable WINDOWS_IMAGE variable with a default fallback.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 07:24:03 +00:00
Michel Abboud
8864309c7d feat: Add 'stop all' to stop all running containers
- ./winctl.sh stop all finds and stops all running containers
- Updated help, WINCTL_GUIDE.md, and readme.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:54:47 +00:00
Michel Abboud
23cc434703 feat: Add configurable restart policy, default to on-failure
- Changed restart policy from unless-stopped to on-failure
  so Windows shutdown stops the container instead of restarting
- Added RESTART_POLICY env variable to .env.modern and .env.legacy
- Compose files use ${RESTART_POLICY:-on-failure} for flexibility
- Updated WINCTL_GUIDE.md with restart policy documentation
- Updated readme.md with RESTART_POLICY setting

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:46:11 +00:00
Michel Abboud
68e1cce002 docs: Add comprehensive winctl.sh user guide
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:09:19 +00:00