INFO: Your CPU does not support KVM extensions

rcd

Active Member
Jul 12, 2019
242
20
38
62
I am trying to run Windows in a Docker container on a Proxmox VM, but getting the error Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory

Checking cpu-checker in the VM gives this error
Code:
$ sudo kvm-ok
INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used

But all is fine in the host
Code:
$ sudo kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

It is an AMD server, but given there seems to be no problems on the hosts, I suppose it's neither a CPU or BIOS problem? Do I need to configure something in Proxmox to give the client these privileges?

Host CPU is AMD Ryzen 5 5600G with Radeon Graphics
Virtualization: AMD-V
AMD-Vi: AMD IOMMUv2 loaded and initialized

KVM hardware virtualization is enabled for the VM
VM CPU is x86-64-v2-AES with default settings
 
Last edited:
nested virtualization need "host" as VM CPU.
btw, why Windows over Docker over a Proxmox VM ?!

That did the trick, thanks!

Why not? I'm sure windows in a docker container could come in handy. :)
 
it will be slow as it's a nested virtualization.
I hope it's just for testing & learning.
Because Windows as Proxmox VM is the way.
 
Yeah I guess you're right. Anyway, it was just to try it out. It's pretty cool what you can do in Docker though.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!