dockur / windows

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

Error when installing Windows #653

Open wumingxu10 opened 2 months ago

wumingxu10 commented 2 months ago

Operating system

ubuntu 20.04

Description

屏幕截图_17-7-2024_142132_localhost

My image was downloaded from the Microsoft website and verified to be consistent with the Microsoft image through sha256sum

Docker compose

services:
  windows:
    image: dockurr/windows
    container_name: windows
    environment:
      VERSION: "Win10"
      MANUAL: "N"
    volumes:
      - ./win:/storage
      - ./iso/win11x64en.iso:/custom.iso
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 33890:3389/tcp
      - 33890:3389/udp
    stop_grace_period: 2m
    restart: on-failure

Docker log

windows    | ❯ Starting Windows for Docker v3.12...
windows    | ❯ For support visit https://github.com/dockur/windows
windows    | ❯ CPU: Intel Xeon Silver 4214R CPU | RAM: 43/48 GB | DISK: 618 GB (ext4) | HOST: 5.4.0-177...
windows    | 
windows    | ❯ Extracting local ISO image...
windows    | ❯ Detecting version from ISO image...
windows    | ❯ Detected: Windows 11 Pro
windows    | ❯ Adding drivers to image...
windows    | ❯ Adding win11x64.xml for automatic installation...
windows    | ❯ Building Windows 11 image...
windows    | ❯ Creating a 64G growable disk image in raw format...
windows    | ❯ Booting Windows securely using QEMU v8.2.4...
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found
windows    | BdsDxe: loading Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
windows    | BdsDxe: starting Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
windows    | ❯ Windows started succesfully, visit http://localhost:8006/ to view the screen...

Screenshots (optional)

No response

MMaaxx3253 commented 3 weeks ago

Try remove line 10 and specify in version win11