dockur / windows

Windows inside a Docker container.
MIT License
15.57k stars 1.27k forks source link

[Bug]: Booting forever on a Synology #489

Open Minion9113 opened 1 month ago

Minion9113 commented 1 month ago

Is there an existing issue for this?

Machine specifications

16 GB ram

Operating system

Synology DSM, Docker app

Docker version

newest Docker app

Description

When trying to get windows to work on my Synology it just boots forever. I have tried all the solutions found in the existing issues but nothing helped. I have tried to set HV to N and so on but it never boots. I have also tried to set the Boot mode but still nothing. It is just rotating forever. one time for over 6 hours until i shut down the Synology.

Docker compose

Docker App

Docker log

I cant send them right now but there are no errors.

Screenshots (optional)

No response

kroese commented 1 month ago

Are you running with or without KVM? Its hard to tell without your compose file.

Minion9113 commented 1 month ago

im running it without as i cant enable it on the synology

kroese commented 1 month ago

This endlessly spinning circle happens for some people if they dont use KVM. I havent had the motivation to try to find the reason, because this container is not really useable (too slow) without KVM anyway, so it doesnt seem worth the effort.

So you should fix the main issue first: that you dont have KVM. If you dont have the /dev/kvm device then you can fix that by installing the Virtual Machine Manager package from the Synology Package Center. After it is installed, you will have KVM enabled.

SMHRambo commented 1 month ago

If you are using special network configurations that make it impossible to use the Virtual Machine Manager, use the Task Scheduler to execute the following code:

#! /bin/bash

modprobe kvm
modprobe kvm_intel
modprobe kvm_amd
modprobe tun 
Task Settings:
User:  root
Event:  Boot-up