Run Windows inside a Docker container, installed hands-free
open sourceMITself-hostablefree
dockur/windows runs Windows as a virtual machine inside a Docker container: it downloads the chosen release and installs it unattended, from Windows 11 and 10 back to XP and Windows Server editions. With KVM acceleration it runs at near-native speed, and you reach the desktop in a browser on port 8006 or over RDP. CPU, memory and disk are configurable, with memory ballooning, USB passthrough, host folder sharing and several networking modes. It doesn't distribute Windows itself: you need a valid Windows licence.
Problems it solves
- run a Windows VM on a Linux server with Docker Compose
- test software on Windows from a Linux machine
- a disposable Windows desktop in a container
Features
- automatic download and unattended installation
- modern and legacy Windows releases
- KVM acceleration
- web viewer on port 8006 and RDP
- USB passthrough and shared folders
- NAT, user-mode, macvlan and macvtap networking
Limitations
Alternatives
The same job
These do what Windows in Docker (dockur) does.
- WinBoat Run Windows apps on Linux as native windows, from a Windows VM in a container
- Incus Next-generation system container, application container and virtual machine manager
- VirtualBox General-purpose open source full virtualization for laptops, desktops and servers
