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.
![image](https://private-user-images.githubusercontent.com/14146995/298858616-1a675f8a-2ee1-435f-aebc-3612e474b73b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNjM3NTksIm5iZiI6MTcyNDI2MzQ1OSwicGF0aCI6Ii8xNDE0Njk5NS8yOTg4NTg2MTYtMWE2NzVmOGEtMmVlMS00MzVmLWFlYmMtMzYxMmU0NzRiNzNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDE4MDQxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQxNWUyMjZmMmIxZDdjODEzMmIyYTNjYTljYTM1MTg0N2I5YjcyN2RlZDY5MTMyOWU4M2U5NWUxMzU3ZDYyNzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.PVKOCDvKzT9VhD-psVe38UG-PziFpt3P10mLNNZrexY)
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)
- [Bug]: ERROR: Timeout while waiting for QEMU to boot the machine
- [Feature]: New OS
- [Question]: WSL sharing Folder HOT 2
- Stuck on a boot circle (Win10) HOT 2
- [Question]: Can i passthrough my IGPU intel ?
- Container restarts every hour HOT 1
- [Feature]: Pterodactyl Egg
- Language of the input keyboard is not respected HOT 2
- [Question]: Using the Microsoft windows image HOT 3
- Can't get it to boot to my locally dowloaded iso, keeps trying to download from cloud HOT 2
- [Feature]: May I ask if it supports GPU
- Certificate authorities not updating properly
- Could not open UnixIO socket: Permission denied HOT 7
- fresh windows install HOT 7
- [Feature]: Can't play sound? Could be support sound?
- [Question]: is there a way to reduce the data.img after it grows?
- Unlocking locked user account
- After 2 reboots Windows does not start anymore HOT 2
- [Question]: Does it support TCG?
- [Question]: Use images from docker or custom registry
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.