dockur / windows

Windows inside a Docker container.
MIT License
17.49k stars 1.5k forks source link

The system often freezes when Windows starts, and the CPU reaches 100% after Hyper-V enabled #593

Closed wilson-song closed 3 months ago

wilson-song commented 3 months ago

Operating system

Ubuntu 23.04

Description

I enabled Hyper-V in Windows. After that the system often freezes when Windows starts, and the CPU reaches 100%.

Docker compose

version: "3" services: windows: image: dockurr/windows container_name: windows_0010 devices:

Docker log

windows_0010 | ❯ Starting Windows for Docker v3.11... windows_0010 | ❯ For support visit https://github.com/dockur/windows windows_0010 | ❯ CPU: Intel Core TM i7 6850K CPU | RAM: 123/126 GB | DISK: 691 GB (ext4) | HOST: 6.2.0-39... windows_0010 | windows_0010 | ❯ Booting Windows... windows_0010 | BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,A93D6057-EE26-4A25-82A8-6F298626739D,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi windows_0010 | BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,A93D6057-EE26-4A25-82A8-6F298626739D,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi windows_0010 | ❯ Windows started succesfully, visit http://localhost:8006/ to view the screen...

Screenshots (optional)

image image

wilson-song commented 3 months ago

After set HV=N, the CPU usage get down.