Skip to content

Instantly share code, notes, and snippets.

@NameOfTheDragon
Created May 14, 2025 22:06
Show Gist options
  • Save NameOfTheDragon/37dfff12ead1824a59aacf339cdc1666 to your computer and use it in GitHub Desktop.
Save NameOfTheDragon/37dfff12ead1824a59aacf339cdc1666 to your computer and use it in GitHub Desktop.
Windows in Docker under Linux
version: '3'
services:
windows:
image: dockurr/windows
container_name: windows
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
stop_grace_period: 2m
restart: on-failure
volumes:
- ./persistent-data:/storage
environment:
- RAM_SIZE=8G
- CPU_CORES=6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment