dockur / windows

Windows inside a Docker container.
MIT License
17.03k stars 1.45k forks source link

[Bug]: Freeze in fresh install at Installing Updates (BTRFS?) #721

Open mtompkins opened 1 week ago

mtompkins commented 1 week ago

Operating system

Arch

Description

The installation freezes during the Installing Updates phase.

I've tried a few things including:

all fail

kvm is loaded and available

kvm-ok
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
INFO: /dev/kvm exists
KVM acceleration can be used

Add'l info:

Docker compose

services:
  windows:
    image: dockurr/windows
    container_name: win11
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m
    restart: unless-stopped
    environment:
      VERSION: "win11"
    volumes:
      - /opt/windows/win11:/storage

Docker log

❯ Starting Windows for Docker v3.14...
❯ For support visit https://github.com/dockur/windows
❯ CPU: Intel Core TM i7 14700 | RAM: 97/126 GB | DISK: 1905 GB (btrfs) | HOST: 6.6.48-1-lts...

❯ Requesting Windows 11 from Microsoft server...
❯ Downloading Windows 11...

     0K ........ ........ ........ ........  0% 6.73M 16m0s
 32768K ........ ........ ........ ........  0% 13.2M 12m2s
 65536K ........ ........ ........ ........  1% 17.1M 10m3s
 98304K ........ ........ ........ ........  1% 19.6M 8m52s
...
...
5865472K ........ ........ ........ ........ 88% 37.0M 18s
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found
BdsDxe: loading Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
BdsDxe: starting Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
❯ Windows started succesfully, visit http://localhost:8006/ to view the screen...

Screenshots (optional)

Screenshot from 2024-09-01 13-56-53

kroese commented 1 week ago

I noticed before that users had problems with this container and BTRFS ( see https://github.com/dockur/windows/issues/720 and https://github.com/dockur/windows/issues/299 ). But I am not sure what is causing this, probably some obscure bug in QEMU. So Im afraid there is not much I can do about it, except waiting until they fix it.