dockur / windows

Windows inside a Docker container.
MIT License
17.14k stars 1.46k forks source link

Windows 10 Setup asking for driver - Synology DSM 7.2.1 DS918+ #569

Closed Tk95100 closed 3 months ago

Tk95100 commented 3 months ago

Operating system

Synology DSM 7.2.1 DS918+

Description

I am running docker windows 10 pro from Container Manager -> Projects as docker compose. It looks like everything is loading until get to setup screen, system is asking for driver!? am I missing something from the yaml file? Thanks.

System is runing on Synology DSM 7.2.1 DS918+ KVM is present (Virtual Machine App was installed)

Docker compose

version: "3" services: windows: image: dockurr/windows container_name: windows environment: VERSION: "win10" RAM_SIZE: "8G" CPU_CORES: "3" DISK_SIZE: "60G" devices:

Docker log

date | stream | content -- | -- | -- 2024/06/07 05:47:30 | stdout | [=3h❯ Windows started succesfully, visit http://localhost:8006/ to view the screen... 2024/06/07 05:47:20 | stdout | BdsDxe: starting Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0) 2024/06/07 05:47:20 | stdout | BdsDxe: loading Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0) 2024/06/07 05:47:20 | stdout | [=3h[=3h[=3hBdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found 2024/06/07 05:47:19 | stdout | ❯ Booting Windows... 2024/06/07 05:47:19 | stderr | ❯ Warning: your configured RAM_SIZE of 8 GB is very close to the 8 GB of memory available, please consider a lower value.

Screenshots (optional)

Win10prodockerError Log

kroese commented 3 months ago

Mmmh... very strange! Everything looks okay in your compose file.

First thing to try would be to revert the RAM_SIZE and CPU_CORES settings to their defaults (2 and 4GB), because they are set a bit strange (uneven number of cores, and way too much RAM because you will need to leave at least some GB free for caching).

If it still doesnt work, you could try:

environment:
  DISK_TYPE: "ide"

but this will have a negative impact on performance.

Also: do you have the same problem on Win11 or Win8?

Tk95100 commented 3 months ago

Mmmh... very strange! Everything looks okay in your compose file.

First thing to try would be to revert the RAM_SIZE and CPU_CORES settings to their defaults (2 and 4GB), because they are set a bit strange (uneven number of cores, and way too much RAM because you will need to leave at least some GB free for caching).

If it still doesnt work, you could try:

environment:
  DISK_TYPE: "ide"

but this will have a negative impact on performance.

Also: do you have the same problem on Win11 or Win8?

I have not test with Win11 or Win8.

environment: DISK_TYPE: "ide" This option works with windows 10 pro installation, but slow and randomly failed at different % of installing. Therefore, something is wrong with the IDE and SCSI driver from Synology DSM.

Here is the good news. The same yaml file, win10e, windows 10 enterprise successfully installed and working well. Thank you for your input.

KEMBL commented 3 weeks ago

Just a guess, Synology offers an iso image for windows guest systems and it contains drivers which might be what is required in your case. Though, I do not know how to connect it as a CD-ROM within docur.