Your CPU does not support KVM extensions

I install ubuntu 22.04 on vmware player, then follow the procedure in
https://docs.docker.com/desktop/setup/install/linux/ubuntu/
section [Install Docker Desktop]
then when start docker desktop, error “KMS is not enabled on host…” is shown, then I follow the link, and type

sudo modprobe kvm
sudo modprobe kvm_intel
sudo kvm-ok

and it returns error

INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used

I checked cpuinfo by

less cpuinfo|grep vmx
less cpuinfo|grep svm

both nothing return…Does this mean my cpu cannot use docker desktop for linux?
But I check intel website, my cpu is 11th Gen Intel(R) Core™ i5-1135G7 @ 2.40GHz 2.42 GHz and should support Intel® Virtualization Technology (VT-x) .

What can I do now?
Then I can just use docker engine without GUI?



Screenshot 2025-02-21 123434

Solved finally. In VMWare player, select the VM, choose VM, edit VM setting, then choose processor, in Virtualization engine, check the checkbox "Virtualize Intel VT-X/EPT or AMD-V/RVI.

Can you share the os you run the VMware player (btw. Workstation Pro is free for personal use)?

I am asking, because nested virtualization won’t work on Windows if any Hyper-V component is enabled. For instance, enabling the WSL feature will install Hyper-V components.

run VMPlayer workstation on Windows 11, install ubuntu on VMPlayer, then install Docker for linux on ubuntu.

In my host Windows 11, if I type
wsl -l -v
it returns

  NAME      STATE           VERSION
* Ubuntu    Stopped         2

and in “Turn Wndows features on or off”, the checkbox “Heper-V” is unchecked.
So my host Windows 11 Hyper-V component is NOT enabled?

Well, if the WSL feature is enabled then a minimal set of hyper-v components is installed.
I am surprised that nested virtualization worked in that scenario.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.