GithubHelp home page GithubHelp logo

Comments (18)

kroese avatar kroese commented on May 13, 2024 1

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.

kroese avatar kroese commented on May 13, 2024

Can you post your compose file? To see which settings you have configured?

from windows.

rongchun avatar rongchun commented on May 13, 2024

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.

kroese avatar kroese commented on May 13, 2024

That looks normal! Can you tell me a bit more about your system? What OS is it? What CPU?

from windows.

rongchun avatar rongchun commented on May 13, 2024

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.

kroese avatar kroese commented on May 13, 2024

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.

rongchun avatar rongchun commented on May 13, 2024

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.

kroese avatar kroese commented on May 13, 2024

I made some changes regarding to this issue. Can you please pull the lastest tag and see it fixed your issue?

from windows.

rongchun avatar rongchun commented on May 13, 2024

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.

rongchun avatar rongchun commented on May 13, 2024

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...
image

from windows.

rongchun avatar rongchun commented on May 13, 2024

I made some changes regarding to this issue. Can you please pull the lastest tag and see it fixed your issue?

Do I need to modify the BIOS?
image

from windows.

rongchun avatar rongchun commented on May 13, 2024

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

from windows.

kroese avatar kroese commented on May 13, 2024

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.

rongchun avatar rongchun commented on May 13, 2024

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.

rongchun avatar rongchun commented on May 13, 2024

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.

kroese avatar kroese commented on May 13, 2024

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.

rongchun avatar rongchun commented on May 13, 2024

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.

OK.I will give it a try when I have free time

from windows.

kroese avatar kroese commented on May 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.