Comments (17)
Seems like the device /dev/kvm
is missing from your compose file. Can you show me your run command or compose file?
from windows-arm.
I used the default installation.
version: "3"
services:
windows:
container_name: windows
image: dockurr/windows-arm
environment:
VERSION: "win11"
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
stop_grace_period: 2m
restart: on-failure
from windows-arm.
Strange.. Try adding privileged: true
from windows-arm.
I tried with administrator but it didn't work either.
There is a difference in the location I am using, which is the storage, due to the storage space on the main unit.
The drive I'm using is using ext4 format.
from windows-arm.
It says /dev/kvm
is missing, so it cannot be related to storage. Can you try if it makes a difference if you run the CLI command (with sudo
in front) instead of the compose file?
from windows-arm.
Same error, I ran the code below.
sudo docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 -v /media/Dados/Windows:/storage dockurr/windows-arm
It freezes at boot time with QEMU
❯ Starting Windows for Docker v1.10...
❯ For support visit https://github.com/dockur/windows-arm
❯ Booting Windows using QEMU emulator version 8.2.1 ...
from windows-arm.
What do you mean exactly by freezing? Do you see the TianoCore logo for example?
from windows-arm.
No, it's straight like that.
Today I updated the entire package again, running apt install qemu-system. But still the same situation persists.
from windows-arm.
From the screenshots it looks like your run kvm-ok
inside the container. But you should run it on your host. So you might need to SSH into CasaOS for that.
from windows-arm.
Sorry @kroese.
But the result is the same:
Any idea ?
from windows-arm.
Can you try #37 (comment) ?
from windows-arm.
Can you try #37 (comment) ?
i will try.
from windows-arm.
I fixed this for the Orangi Pi 5 now in v2.10, by adding CPU pinning support to pin it to cores 4,5,6 and 7 when it detects a RK3588 CPU.
I would also like to fix it for the Orange Pi 3 and 4, so if you are still interested can you please show me how this CPU is named in the Docker log when you start the container (the line that shows CPU/RAM/kernel).
from windows-arm.
windows | ❯ Starting Windows for Docker v2.10...
windows | ❯ For support visit https://github.com/dockur/windows-arm
windows | ❯ CPU: Cortex A55 | RAM: 6/8 GB | DISK: 214 GB (ext4) | HOST: 5.10.160-rockchip-rk356x...
Sorry for the delay. Today I managed to carry out tests with the new version. Below is the requested information. In fact, my model's processor is quad core and not octacore.
from windows-arm.
@SauloVR91 Thanks.. The problem on the OrangePi 4 and 5 was that they had mixed cores (4x A55 and 4x A76 for example). After pinning it to one type it worked.
But I now see that the OrangePi 3B has 4x A55 and no mix of types at all. So your problem is totally unrelated, and after reading it better I see it was about KVM missing.
It will be useless to figure out why you have no display output with KVM disabled, because even when we fix that, Windows will run extremely slow and sluggish without the hardware acceleration KVM provides.
So our only option is to figure out why KVM doesnt work with the Docker on CasaOS.
Can you execute the example docker run
command with sudo
in front, so: sudo docker run ....
and see if it fixes the permission error for KVM?
from windows-arm.
I ran docker directly from the ubuntu server, outside of CasaOS. This was the result, I'm starting to think that somehow, there isn't a KVM on the orangePi 3B
orangepi@sauloserver:~$ sudo docker run -it --rm -p 8006:8006
--device=/dev/kvm
--cap-add NET_ADMIN
--stop-timeout 120
-v /media/Dados/Windows:/storage
-e VERSION="win10"
dockurr/windows-arm
[sudo] password for orangepi:
Unable to find image 'dockurr/windows-arm:latest' locally
latest: Pulling from dockurr/windows-arm
9e1029337ca3: Pull complete
36ae1603511d: Pull complete
4b8d967cfbfa: Pull complete
c7e52c81c715: Pull complete
290f113f7e48: Pull complete
5eacd537b267: Pull complete
Digest: sha256:2530dfeb4582b3ddd50e66ca17b6d6db0675ad255c0d62cd058d777ece35958a
Status: Downloaded newer image for dockurr/windows-arm:latest
❯ Starting Windows for Docker v2.10...
❯ For support visit https://github.com/dockur/windows-arm
❯ CPU: Cortex A55 | RAM: 6/8 GB | DISK: 216 GB (ext4) | HOST: 5.10.160-rockchip-rk356x...
❯ Downloading product information from Microsoft server...
❯ Downloading Windows 10...
/storage/tmp/win10arm64.esd 100%[=================================================>] 3.41G 26.1MB/s in 2m 10s
❯ Extracting Windows 10 bootdisk...
❯ Extracting Windows 10 environment...
❯ Extracting Windows 10 setup...
❯ Extracting Windows 10 image...
❯ Adding drivers to image...
❯ Adding win10arm64.xml for automatic installation...
❯ Building Windows 10 image...
❯ Creating a 64G growable disk image in raw format...
❯ Booting Windows using QEMU v8.2.4...
❯ ERROR: Timeout while waiting for QEMU to boot the machine!
qemu-system-aarch64: terminating on signal 15 from pid 987 (bash)
❯ Shutdown completed!
from windows-arm.
Can you try if you can run the example compose from: https://github.com/qemus/qemu-arm
Because both projects share 90 percent of the same code. So if that other one runs without problems on your system, we know the issue is related specificly to Windows.
from windows-arm.
Related Issues (20)
- Version winxp HOT 4
- Doesn't run on OracleCloud ARM? HOT 1
- How I fix this problem on my k8s? HOT 2
- lost connection, can you help me..? HOT 4
- ERROR: Failed to create bridge. Please add the following setting to your container: --cap-add NET_ADMIN HOT 2
- [Question]: how to run this on M1 pro HOT 1
- [Bug]: awk error when trying to start 1.14 HOT 3
- [Bug]: Timeout while waiting for QEMU to boot the machine HOT 2
- Bug report HOT 3
- [Bug]: Error on Asahi Linux ERROR: TUN device missing. HOT 3
- [Question]: KVM acceleration not available (device file missing) HOT 1
- When I use the quick start command it downloads the necessary packages and extracts them and then it gives me this error HOT 1
- Installing issue HOT 2
- qemu: qemu_thread_create: Operation not permitted HOT 2
- Docker maclvn network HOT 3
- Running the image in Docker on Raspberry Pi5 HOT 5
- ERROR: Timeout while waiting for QEMU to boot the machine! HOT 3
- Display output is not activate HOT 3
- windows The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s Attaching to windows
- Encountering the “Display output is not active” issue, how can it be resolved? HOT 1
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-arm.