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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgyNzczMDMsIm5iZiI6MTcxODI3NzAwMywicGF0aCI6Ii8xNDE0Njk5NS8yOTg4NTg2MTYtMWE2NzVmOGEtMmVlMS00MzVmLWFlYmMtMzYxMmU0NzRiNzNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEzVDExMTAwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJjYzZkMTVjOTJjZGE4YmU0NDcxN2Y2YTQ1MGNmM2NjYjk1YTk0MTc0ZmUzMWNhMTkzMTgwOTdjODgyOTU1OWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Ni5oVGwS1XeHzrkBZaFnTxvxeir0Y_D0Azb9j_IyiCk)
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)
- [Feature]: What about support for Windows Nano Server or Windows Server Core HOT 2
- [Question]: OSX collaboration HOT 4
- [Bug]: Error while smbd booting HOT 3
- [Question]: How to disable the remote screen HOT 5
- [Question]: ❯ ERROR: Failed to create bridge. Please add the following setting to your container: --cap-add NET_ADMIN HOT 1
- Windows won't install with an USB device connected HOT 6
- [Feature]: Caching folder/system for ISO HOT 9
- Windows 10 Setup asking for driver - Synology DSM 7.2.1 DS918+ HOT 2
- [Feature]: Automatic Machine FallBack HOT 4
- [Feature]: It is possible add support GPU? HOT 1
- Not enough RAM? HOT 2
- Win11 download keeps failing HOT 2
- [Question]: KVM could I run this without it HOT 6
- Can only use USB passthru with privileged container HOT 3
- double free or corruption (!prev) HOT 4
- Obtain docker bridge/compose stack IP (not in router subnet) HOT 4
- Unable to self-restart. HOT 6
- Windows XP in Russian language installation issues HOT 8
- The system often freezes when Windows starts, and the CPU reaches 100% after Hyper-V enabled HOT 1
- [Question]: qemu return error while booting windows HOT 2
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.