Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Windows server 2016 not start #986

Open
kkuses opened this issue Dec 26, 2024 · 4 comments
Open

[Bug]: Windows server 2016 not start #986

kkuses opened this issue Dec 26, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@kkuses
Copy link

kkuses commented Dec 26, 2024

Operating system

openEuler 22.03 LTS SP1

Description

docker-compose up
image

Docker compose

version: '3.3'

services:
windows:
image: dockurr/windows
container_name: windows-2016
environment:
VERSION: "2016"
USERNAME: "admin"
PASSWORD: "admin123"
LANGUAGE: "CN"
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
stop_grace_period: 2m

Docker log

❯ Extracting Windows Server 2016 image...
❯ Adding drivers to image...
❯ Adding win2016-eval.xml for automatic installation...
❯ Building Windows Server 2016 image...
❯ Creating a 64G growable disk image in raw format...
❯ Booting Windows securely using QEMU v9.2.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

@kkuses kkuses added the bug Something isn't working label Dec 26, 2024
@Aerosane
Copy link

How long did you wait for the boot screen? I think it takes sometime depending on hardware too.

@Aerosane
Copy link

Just tried the windows server 2016 container.It works fine.I wonder what’s up with your hardware…

@kkuses
Copy link
Author

kkuses commented Dec 30, 2024

刚刚尝试了 Windows Server 2016 容器。它工作正常。我想知道你的硬件是怎么回事......

I've tested that it's not a hardware issue, it's caused by a high kernel version, which happens with the 5.10 kernel, and now I've replaced the kernel with 4.19.

@Aerosane
Copy link

Oh,glad it’s working for you.I’m sorry I didn’t look at it that way lol,cuz my kernel version is 6.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants