Comments (18)
Yes but this container is more for people who dont have something like VMM on their system. If you have VMM, it is much better for the job than this container.
By the way: I also made a version of DSM for Docker. And that one works 100 percent on a Synology too. See https://github.com/vdsm/virtual-dsm/ if you like.
from windows.
Can you post your compose file? To see which settings you have configured?
from windows.
Can you post your compose file? To see which settings you have configured?
I established it through the following command.
docker run -it -p 8009:8006 -v /volume1/docker/win:/storage --device=/dev/kvm --cap-add=NET_ADMIN dockurr/windows
from windows.
That looks normal! Can you tell me a bit more about your system? What OS is it? What CPU?
from windows.
That looks normal! Can you tell me a bit more about your system? What OS is it? What CPU?
Synology DSM 7.2.1 DOCKER 20.10.23-1437 INTEL Celeron J4125
from windows.
Can you try these commands:
docker run -it -p 8009:8006 -v /volume1/docker/win:/storage -v /volume1/docker/winshm:/dev/shm --device=/dev/kvm --cap-add=NET_ADMIN dockurr/windows
docker run -it -p 8009:8006 -v /volume1/docker/win:/storage --shm-size 512m --device=/dev/kvm --cap-add=NET_ADMIN dockurr/windows
docker run -it -p 8009:8006 -v /volume1/docker/win:/storage --device=/dev/kvm --device=/dev/shm --cap-add=NET_ADMIN dockurr/windows
from windows.
Can you try these commands:
docker run -it -p 8009:8006 -v /volume1/docker/win:/storage -v /volume1/docker/winshm:/dev/shm --device=/dev/kvm --cap-add=NET_ADMIN dockurr/windows
docker run -it -p 8009:8006 -v /volume1/docker/win:/storage --shm-size 512m --device=/dev/kvm --cap-add=NET_ADMIN dockurr/windows
docker run -it -p 8009:8006 -v /volume1/docker/win:/storage --device=/dev/kvm --device=/dev/shm --cap-add=NET_ADMIN dockurr/windows
2024/01/23 08:16:10,stdout,"qemu-system-x86_64: -chardev socket,id=chrtpm,path=/dev/shm/tpm/swtpm-sock: Failed to connect to '/dev/shm/tpm/swtpm-sock': No such file or directory
The same error still exists. After adding/dev/shm/tpm/swtpm sock, the error is as follows:
ERROR: Status 1 while: swtpm socket -t -d --tpmstate dir=/dev/shm/tpm --ctrl type=unixio,path=/dev/shm/tpm/swtpm-sock --tpm2 (line 64/15)�[0m
from windows.
I made some changes regarding to this issue. Can you please pull the lastest tag and see it fixed your issue?
from windows.
I made some changes regarding to this issue. Can you please pull the lastest tag and see it fixed your issue?
OK.I will give it a try when I have time.
from windows.
I made some changes regarding to this issue. Can you please pull the lastest tag and see it fixed your issue?
The stop error after startup is as follows:
dockurr-windows-1
date,stream,content
2024/01/23 13:15:08,stdout,"BdsDxe: starting Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
"
2024/01/23 13:15:08,stdout,"BdsDxe: loading Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
"
2024/01/23 13:15:07,stdout,"�[2J�[01;01H�[=3h�[2J�[01;01H�[2J�[01;01H�[=3h�[2J�[01;01H�[2J�[01;01H�[=3h�[2J�[01;01HBdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found
"
2024/01/23 13:14:34,stdout,�[1;34m❯ �[1;36mBooting Windows using QEMU emulator version 8.1.2 ...�[0m
2024/01/23 13:14:34,stdout,�[1;31m❯ ERROR: TPM socket not found? Disabling TPM support...�[0m
2024/01/23 13:14:33,stdout,Waiting for TPM socket to become available...
2024/01/23 13:14:32,stdout,Waiting for TPM socket to become available...
2024/01/23 13:14:31,stdout,Waiting for TPM socket to become available...
2024/01/23 13:14:30,stdout,Waiting for TPM socket to become available...
2024/01/23 13:14:29,stdout,swtpm: seccomp_load failed with errno 125: Operation canceled
2024/01/23 13:14:05,stdout,Warning: creating filesystem that does not conform to ISO-9660.
2024/01/23 13:14:05,stdout,�[1;34m❯ �[1;36mGenerating the ISO image...�[0m
2024/01/23 13:13:45,stdout,�[1;34m❯ �[1;36mExtracting local ISO image...�[0m
2024/01/23 13:13:45,stdout,
2024/01/23 13:13:45,stdout,❯ For support visit https://github.com/dockur/windows
2024/01/23 13:13:45,stdout,❯ Starting Windows for Docker v1.10...
from windows.
I made some changes regarding to this issue. Can you please pull the lastest tag and see it fixed your issue?
from windows.
I made some changes regarding to this issue. Can you please pull the lastest tag and see it fixed your issue?
Keep spinning. It has been going on for an hour.
from windows.
I am not sure what the problem is, it might have something to do with the kernel that Synology uses. But Virtual Machine Manager (VMM) on Synology also uses QEMU, and has much more options than this container. So maybe its easier that you use VMM to run Windows instead?
from windows.
I am not sure what the problem is, it might have something to do with the kernel that Synology uses. But Virtual Machine Manager (VMM) on Synology also uses QEMU, and has much more options than this container. So maybe its easier that you use VMM to run Windows instead?
Of course, I am also using VMM. I just want to try using it because you have released the DOCKER version. Thank you very much for your reply.
from windows.
Yes but this container is more for people who dont have something like VMM on their system. If you have VMM, it is much better for the job than this container.
By the way: I also made a version of DSM for Docker. And that one works 100 percent on a Synology too. See https://github.com/vdsm/virtual-dsm/ if you like.
OK. Thank you.
from windows.
There is a way to solve this maybe.. You can start a Windows VM via Virtual Machine Manager. Then go to the SSH console and use a command like htop
to view the running processes. Then you can see exactly the commandline parameters for the qemu-system-x86_64
process. If you post them here, we can compare the differences between what VMM uses, and what this container uses, and if we make them more the same then it should run on your NAS without problems.
from windows.
There is a way to solve this maybe.. You can start a Windows VM via Virtual Machine Manager. Then go to the SSH console and use a command like
htop
to view the running processes. Then you can see exactly the commandline parameters for theqemu-system-x86_64
process. If you post them here, we can compare the differences between what VMM uses, and what this container uses, and if we make them more the same then it should run on your NAS without problems.
OK.I will give it a try when I have free time
from windows.
Can you try if Windows 7 works correctly on your NAS? By setting VERSION=win7
.
It does not use secure boot or UEFI, so if the container works correctly when you choose Win7 we know a bit more about the possible cause.
from windows.
Related Issues (20)
- [Question]: how to configure the http/https proxy in windows container? HOT 2
- [Question]: Can I download win7 x86? HOT 3
- widows HOT 1
- [Question]: how to install wsl properly? HOT 1
- QEMU time HOT 2
- [Question]: Failed to resolve servers HOT 1
- [Bug]: Failed to resolv servers HOT 4
- Macbook support [Question]: HOT 1
- [Question]: How to not use decited ip for continer? HOT 10
- [Question]: add qemu-img as data disk? HOT 4
- [Question]: Not support USB device hotplug? HOT 1
- [Question]: Sharing disk volumes HOT 2
- [Question]: NO device HOT 10
- [Question]: How setting KVM=N with docker compose? HOT 3
- [Bug]: win7 failed cd-rom HOT 9
- [Question]: win7 failed cd-rom HOT 1
- [Bug]: Docker run defaults to win11 changed to win7 HOT 2
- [Feature]: Implement snapshot support HOT 3
- [Question]: DHCP Not Working HOT 1
- [Bug]: Booting forever on a Synology
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows.