mirror of
https://github.com/dockur/windows.git
synced 2026-02-04 01:37:21 +00:00
- Add AUTO_CACHE=Y/N setting in .env to auto-cache ISOs on stop - Fix cache restore to copy metadata files (windows.base, windows.ver, windows.mode, windows.type, windows.args) alongside ISOs so the container recognizes them as already processed and skips re-download - Refactor show_usage() into topic-based help with interactive menu (commands, instances, cache, examples, config) and aligned columns - Fix clean --data to unregister instances and remove compose files - Update WINCTL_GUIDE.md and readme.md with all changes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
# Windows Docker VM Configuration
|
|
#
|
|
# Two env files are provided with optimized defaults:
|
|
# - .env.modern (8G RAM, 4 CPU) - Windows 10/11, Server 2016+
|
|
# - .env.legacy (2G RAM, 2 CPU) - Windows 7/8, Vista, XP, 2000, Server 2003-2012, Tiny
|
|
#
|
|
# Each compose file references the appropriate env file automatically.
|
|
# Edit .env.modern or .env.legacy to customize settings.
|
|
#
|
|
# Available settings:
|
|
#
|
|
# RAM_SIZE=8G # Memory allocation
|
|
# CPU_CORES=4 # CPU cores
|
|
# DISK_SIZE=128G # Virtual disk size
|
|
# USERNAME=Docker # Windows username
|
|
# PASSWORD=admin # Windows password
|
|
# LANGUAGE=en # Installation language
|
|
# REGION=en-US # Region setting
|
|
# KEYBOARD=en-US # Keyboard layout
|
|
# WIDTH=1280 # Display width
|
|
# HEIGHT=720 # Display height
|
|
# DHCP=N # Use DHCP (Y/N)
|
|
# SAMBA=Y # Enable file sharing (Y/N)
|
|
# RESTART_POLICY=on-failure # Restart policy (no, on-failure, always, unless-stopped)
|
|
# DEBUG=N # Debug mode (Y/N)
|
|
# WINDOWS_IMAGE=dockurr/windows # Docker image (dockurr/windows-arm for ARM64)
|
|
#
|
|
# winctl.sh settings (place in .env file):
|
|
#
|
|
# AUTO_CACHE=N # Auto-cache ISOs on stop (Y/N)
|