CPU_CORES:"4"# CPU cores allocated to the Windows VM.
CPU_CORES:"4"# CPU cores allocated to the Windows VM.
DISK_SIZE:"64G"# Size of the primary hard disk.
DISK_SIZE:"64G"# Size of the primary hard disk.
#DISK2_SIZE: "32G" # Uncomment to add an additional hard disk to the Windows VM. Ensure it is mounted as a volume below.
#DISK2_SIZE: "32G" # Uncomment to add an additional hard disk to the Windows VM. Ensure it is mounted as a volume below.
USERNAME:"MyWindowsUser"# Uncomment to set a custom Windows username. The default is 'Docker'.
USERNAME:"MyWindowsUser"# Edit here to set a custom Windows username. The default is 'MyWindowsUser'.
PASSWORD:"MyWindowsPassword"# Uncomment to set a password for the Windows user. There is no default password.
PASSWORD:"MyWindowsPassword"# Edit here to set a password for the Windows user. The default is 'MyWindowsPassword'.
HOME:"${HOME}"# Set path to Linux user home folder.
HOME:"${HOME}"# Set path to Linux user home folder.
privileged:true# Grant the Windows VM extended privileges.
privileged:true# Grant the Windows VM extended privileges.
ports:
ports:
...
@@ -38,4 +38,4 @@ services:
...
@@ -38,4 +38,4 @@ services:
devices:
devices:
-/dev/kvm# Enable KVM.
-/dev/kvm# Enable KVM.
#- /dev/sdX:/disk1 # Uncomment to mount a disk directly within the Windows VM (Note: 'disk1' will be mounted as the main drive. THIS DISK WILL BE FORMATTED BY DOCKER).
#- /dev/sdX:/disk1 # Uncomment to mount a disk directly within the Windows VM (Note: 'disk1' will be mounted as the main drive. THIS DISK WILL BE FORMATTED BY DOCKER).
#- /dev/sdY:/disk2 # Uncomment to mount a disk directly within the Windows VM (Note: 'disk2' and higher will be mounted as secondary drives THIS DISK WILL NOT BE FORMATTED).
#- /dev/sdY:/disk2 # Uncomment to mount a disk directly within the Windows VM (Note: 'disk2' and higher will be mounted as secondary drives. THIS DISK WILL NOT BE FORMATTED).