dockur / windows-arm

Windows for ARM in a Docker container.
MIT License
778 stars 83 forks source link

[Bug]: Timeout while waiting for QEMU to boot the machine #96

Closed jokay closed 5 months ago

jokay commented 5 months ago

Is there an existing issue for this?

Machine specifications

RaspberryPi 5 / 8 GB

Operating system

Debian 12 (stable)

Docker version

26.1.0

Description

When starting the Docker container using 2.0.0 this error shows up in the logs:

ERROR: Timeout while waiting for QEMU to boot the machine!

It seems not to affect the start of Windows itself, as it's perfectly usable 👍🏼

After a shutdown & start the same error still shows up.

Docker compose

services:
  app:
    image: dockurr/windows-arm:2.00
    volumes:
      - ./data/storage:/storage
    environment:
      - VERSION=win11
      - RAM_SIZE=4G
      - CPU_CORES=2
      - DISK_SIZE=128G
    ports:
      - 3389:3389
      - 3389:3389/udp
    restart: on-failure
    devices:
      - /dev/kvm
    stop_grace_period: 2m
    cap_add:
      - NET_ADMIN

Docker log

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,1F6C1699-A5C8-459B-AB12-9BDACC0AE054,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,1F6C1699-A5C8-459B-AB12-9BDACC0AE054,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
❯ ERROR: Timeout while waiting for QEMU to boot the machine!

Screenshots (optional)

No response

kroese commented 5 months ago

Thanks for reporting! It was a mistake in how I detect the timeout, I will create a new version where it is fixed soon.

kroese commented 5 months ago

This is now fixed in v2.01!