Since native Windows containers cannot execute on the Linux kernel, you must use a virtual machine wrapper that leverages KVM (Kernel-based Virtual Machine) to provide the necessary hardware virtualization. Follow these steps:
- Ensure your Linux host supports KVM by verifying that /dev/kvm exists.
- Install Docker or Podman on your Linux host.
- Execute the following command to pull and run the dockur/windows container:
docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v "${PWD:-.}/windows:/storage" -e "VERSION=11" docker.io/dockurr/windows - Wait for the container to initialize, then open your web browser and navigate to
http://localhost:8006. - Complete the Windows 11 installation process through the web-based VNC interface.
- Verify the fix by confirming that the Windows desktop environment loads and responds to input within the browser window.
Sources
Comments
Sign in to join the conversation
Sign InNo comments yet. Be the first to share your thoughts!