Skip to content

[Bug]: The detected Windows version is inconsistent with the local ISO version #1687

@Eileentyt

Description

@Eileentyt

Operating system

CentOS Linux release 8.5.2111

Description

The detected version of Windows is Windows 11 Pro (Chinese), but the ISO I am using locally is Windows 11 Home

Docker compose

services:
  windows:
    image: dockurr/windows
    container_name: win11-usb
    environment:
      # VERSION: "11"
      # LANGUAGE: "English"
      RAM_SIZE: "4G"
      CPU_CORES: "2"
      DHCP: "Y"
      MAC: "00:11:22:33:44:29"
      ARGUMENTS: "-device usb-host,vendorid=0x232B,productid=0x275d"
    devices:
      - /dev/kvm
      - /dev/net/tun
      - /dev/bus/usb
      - /dev/vhost-net
    device_cgroup_rules:
      - 'c *:* rwm'
    cap_add:
      - NET_ADMIN
    networks:
      vlan:
        ipv4_address: 172.16.1.29
    volumes:
      - ./windows:/storage
      - ../share:/data
      - ../iso/Windows11family-auto.iso:/boot.iso
      - ../share/OEM:/oem
    stop_grace_period: 2m

networks:
  vlan:
    external: true

Docker log

? Starting Windows for Docker v4.35...
? For support visit https://github.com/dockur/windows
? CPU: Intel Core i5 10500 | RAM: 11/16 GB | DISK: 428 GB (xfs) | KERNEL: 4.18.0-348.el8.x86_64...

? Extracting local ISO image...
? Detecting version from ISO image...
? Detected: Windows 11 Pro (Chinese)
? Adding drivers to image...
? Adding OEM folder to image...
? Adding win11x64.xml for automatic installation...
? Building Windows 11 image...
? Creating a 64 GB growable disk image in raw format...
? Warning: container IP starts with 172.* which is often a sign that you are not on a macvlan network (required for DHCP)!
? Booting Windows using QEMU v10.0.0...
BdsDxe: skipped Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0)
BdsDxe: loading Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)
BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)
? Windows started succesfully, visit http://127.0.0.1:8006/ to view the screen...

Screenshots (optional)

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions