feat: Add winctl.sh management script and multi-version setup

Add winctl.sh with 12 commands for managing Windows Docker containers:
- start, stop, restart, status, logs, shell, stats
- build, rebuild, list, inspect, monitor, check
- Interactive menus, prerequisites checking, color output
- Support for 22 Windows versions across 4 categories

Multi-version compose structure:
- Split base.yml into base-modern.yml (8G) and base-legacy.yml (2G)
- Add .env.example for configuration
- Update all compose files to use env_file
- Add unique port mappings per version
- Update README with winctl.sh documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Michel Abboud 2026-01-28 23:14:45 +00:00
parent c1d3f8e886
commit effdbe0f6f
25 changed files with 1332 additions and 58 deletions

40
.env.example Normal file
View file

@ -0,0 +1,40 @@
# Windows Docker VM Configuration
# Copy this file to .env and customize
# ===========================================
# MODERN SYSTEMS (Windows 10/11, Server 2016+)
# ===========================================
MODERN_RAM_SIZE=8G
MODERN_CPU_CORES=4
MODERN_DISK_SIZE=128G
# ===========================================
# LEGACY SYSTEMS (Windows 7/8, Vista, XP, 2000, Server 2003-2012)
# ===========================================
LEGACY_RAM_SIZE=2G
LEGACY_CPU_CORES=2
LEGACY_DISK_SIZE=32G
# ===========================================
# COMMON SETTINGS (applies to all)
# ===========================================
# User Credentials
USERNAME=Docker
PASSWORD=admin
# Language & Region
LANGUAGE=en
REGION=en-US
KEYBOARD=en-US
# Display
WIDTH=1280
HEIGHT=720
# Network
DHCP=N
SAMBA=Y
# Debug
DEBUG=N