windows icon indicating copy to clipboard operation
windows copied to clipboard

KVM not available

Open DEVSAIKIRAN opened this issue 1 month ago • 5 comments

Operating system

Zorin 18.1

Description

❯ ERROR: KVM acceleration is not available (/dev/kvm is missing), this will cause the machine to run about 10 times slower. ❯ ERROR: See the FAQ for possible causes, or disable acceleration by adding the "KVM=N" variable (not recommended).

Docker compose

docker run -it --rm --privileged --name windows -e "VERSION=11" -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v "${PWD:-.}/windows:/storage" --stop-timeout 120 docker.io/dockurr/windows

Docker log

❯ Starting Windows for Docker v6.06...
❯ For support visit https://github.com/dockur/windows
❯ CPU: Intel Core i5 1335U | RAM: 3/4 GB | DISK: 421 GB (/0x6a656a63) | KERNEL: 7.0.14-linuxkit

❯ ERROR: KVM acceleration is not available (/dev/kvm is missing), this will cause the machine to run about 10 times slower.
❯ ERROR: See the FAQ for possible causes, or disable acceleration by adding the "KVM=N" variable (not recommended).

Screenshots (optional)

No response

DEVSAIKIRAN avatar Oct 14 '26 05:10 DEVSAIKIRAN

Which steps from the readme about this issue did you try?

kroese avatar Oct 14 '26 07:10 kroese

2. Which steps from the readme about this issue did you try?

https://github.com/dockur/windows#docker-cli

DEVSAIKIRAN avatar Oct 14 '26 10:10 DEVSAIKIRAN

I ment: https://github.com/dockur/windows#how-do-i-verify-that-kvm-is-available

kroese avatar Oct 14 '26 23:10 kroese

The kernel reported as 7.0.14-linuxkit indicates you are running Docker via Docker Desktop, which often does not expose /dev/kvm to containers by default. Can you confirm if you have enabled the "Virtio-based virtualization" or "Apple/Windows Hypervisor" settings in your Docker Desktop configuration to allow nested virtualization?

tyshawnaamonte avatar Oct 23 '26 04:10 tyshawnaamonte

7.0.14-linuxkit` in your log) that hides your host hardware from the container

eliottramanda26 avatar Nov 10 '26 20:11 eliottramanda26