Packages Windows as a Docker container with automatic ISO download and unattended setup. It targets Linux or Windows 11 hosts that provide KVM or nested virtualization.
Overview
Windows Docker runs a full Windows guest inside a container image. You start it with Docker Compose, the Docker CLI, or Kubernetes, and the image handles downloading the chosen Windows edition and completing setup without manual steps.
The stack can accelerate the guest with KVM when the host allows it, and you can tune CPU cores, RAM, and disk size through environment variables and compose settings. Optional memory ballooning lets the host reclaim unused guest memory under pressure.
Networking options include NAT, user-mode, macvlan, and macvtap, so the VM can share the host address or sit on your LAN like a physical PC. USB devices can be passed through, host folders can appear on the desktop as Shared, and extra disks can be attached or forwarded from the host.
After install you reach the desktop through a built-in web viewer or Remote Desktop. Related desktop-integration projects such as WinBoat, WinPodX, and WinApps use this container as their backend. The image ships only open-source automation code; you supply a valid Windows license.
Key features
- Automatic Windows download and installation
- Modern and legacy Windows version selection
- KVM-accelerated near-native performance
- Configurable CPU, RAM, and disk size
- USB passthrough and host folder sharing
- NAT, macvlan, and macvtap networking
- Web viewer and RDP access
- Active Directory join during setup
Use cases
- Running Windows apps on a Linux server
- Testing multiple Windows releases in containers
- Isolated Windows desktops for development
- Backend for WinBoat-style desktop integration
- Windows Server lab environments on Docker