dockur / windows

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

❯ ERROR: Timeout while waiting for QEMU to boot the machine![Bug]: #684

Open Greatz08 opened 1 month ago

Greatz08 commented 1 month ago

Operating system

Arch linux

Description

❯ Starting Windows for Docker v0.0...

❯ For support visit https://github.com/dockur/windows

❯ CPU: Intel Xeon Processor Cascadelake  | RAM: 37/40 GB | DISK: 160 GB (btrfs) | HOST: 6.9.9-arch1-1...

❯ Booting Windows using QEMU v8.2.4...

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

qemu-system-x86_64: terminating on signal 15 from pid 206 ()

❯ Shutdown completed!

i dont have kvm and cant setup so running without kvm and this is the console log of the issue i am facing . Please guide me to fix this issue, i have seen similar issues but couldnt fix following any . I tried building my own image too where i thought i should increase QEMU_TIMEOUT in power.sh to 1100 but still didnt fixed my issue

Docker compose

services: windows: image: windoz privileged: true container_name: windows environment: VERSION: "./Win10_22H2_English_x64v1.iso" DISK_SIZE: "100G" RAM_SIZE: "8G" CPU_CORES: "8" USERNAME: "hakai" PASSWORD: "hakai" HV: "N" KVM: "N" BOOT_MODE: "windows_plain"

ARGUMENTS: "-device usb-host,vendorid=0x1234,productid=0x1234"

  # devices:
  #     - /dev/kvm
  #      - /dev/bus/usb
cap_add:
  - NET_ADMIN
ports:
  - 8006:8006
  - 3389:3389/tcp
  - 3389:3389/udp
stop_grace_period: 2m
volumes:
  - ./var/win:/storage
  - ./Win10_22H2_English_x64v1.iso:/custom.iso
  - ./shareitboi:/shared

Docker log

❯ Starting Windows for Docker v0.0...

❯ For support visit https://github.com/dockur/windows

❯ CPU: Intel Xeon Processor Cascadelake | RAM: 37/40 GB | DISK: 160 GB (btrfs) | HOST: 6.9.9-arch1-1...

❯ Booting Windows using QEMU v8.2.4...

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

qemu-system-x86_64: terminating on signal 15 from pid 206 ()

❯ Shutdown completed!

Screenshots (optional)

No response