Skip to content

Instantly share code, notes, and snippets.

@fergalmoran
Created April 16, 2024 16:48
Show Gist options
  • Save fergalmoran/4fc4e9fb7b97455970b4017e83487652 to your computer and use it in GitHub Desktop.
Save fergalmoran/4fc4e9fb7b97455970b4017e83487652 to your computer and use it in GitHub Desktop.
Win11 Virtual Machine
services:
windows:
image: dockurr/windows
container_name: windows
restart: no
environment:
VERSION: "tiny11"
RAM_SIZE: "24G"
CPU_CORES: "8"
DISK_SIZE: "100G"
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 8080:8080
- 3389:3389/tcp
- 3389:3389/udp
volumes:
#copy the tiny11 iso to /opt/vms/windows-docker/custom.iso
- /opt/vms/windows-docker:/storage
- ./win11x64.xml:/run/assets/win11x64.xml
stop_grace_period: 2m
xfreerdp +clipboard +fonts \
/sound /mic /smart-sizing \
/f /floatbar:sticky:off,default:visible,show:fullscreen \
/scale:180 /scale-desktop:200 \
/network:auto /cert-ignore \
/u:fergalm /p:$FM_PASSWORD /v:10.1.1.1 \
> /dev/null 2>&1 &;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment