windows icon indicating copy to clipboard operation
windows copied to clipboard

Cannot start a new windows container

Open tian-jie opened this issue 4 months ago • 3 comments

Operating system

windows 10

Description

I want to create a new container using a windows image under a windows Docker desktop environment. But with any way (default command or any other parameters), I cannot run a docker successfully.

Docker compose

docker run -it -p 8006:8006 --cap-add NET_ADMIN --stop-timeout 120 -e “RAM_SIZE=8G” -e BOOT_MODE=windows_plain --name windows -v d:\Downloads\Win11_24H2_English_x64.iso:/custom.iso dockurr/windows

Docker log

❯ Starting Windows for Docker v3.21... ❯ For support visit https://github.com/dockur/windows ❯ CPU: 12th Gen Intel Core TM i5 12600 | RAM: 29/32 GB | DISK: 948 GB (ext4) | HOST: 5.15.153.1-microsoft-standard-WSL2...

❯ Extracting local ISO image... ❯ Detecting version from ISO image... ❯ Detected: Windows 11 Pro ❯ Adding drivers to image... ❯ Adding win11x64.xml for automatic installation... ❯ Building Windows 11 image... ❯ Creating a 64G growable disk image in raw format... ❯ Warning: you are using Windows 10 which has no KVM support, this will cause a major loss of performance. ❯ Booting Windows using QEMU v9.1.0... 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 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://localhost:8006/ to view the screen...

Screenshots (optional)

image image

tian-jie avatar Oct 11 '24 03:10 tian-jie