Docker Issue WSL2, W11

CodHatGuerra

New Member
Dec 27, 2022
4
0
1
Cheers Sirs,

I'm trying to open Docker Desktop in a W11 virtual machine, but I'm getting this alert:


1694007073278.png

This is the WSL --Version

1694006153404.png


WSL --status

1694008886593.png

When I'm trying to install Ubuntu this error Display:

1694007461723.png


About Windows Features:
1694007681223.png

Aboute PVE Its Enabled Nested Virt on PVE:

1694007729401.png

I have already followed the good pratices to create a VM,

if anyone already haved this issue, plz help me :D
 
Last edited:
Did you set Options -> OS Type to Microsoft Windows?
 
  • Like
Reactions: CodHatGuerra
try setting this in your conf file for the vm

Code:
args: -cpu Cooperlake,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,+vmx
cpu: host
 
I'm having the same issue and followed the thread to validate my cpu and options were correct. When I add those arguments the vm fails to boot.

Code:
swtpm_setup: Not overwriting existing state file.
kvm: warning: host doesn't support requested feature: CPUID.07H:EBX.hle [bit 4]
kvm: warning: host doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11]
kvm: warning: host doesn't support requested feature: CPUID.07H:EBX.clwb [bit 24]
kvm: warning: host doesn't support requested feature: CPUID.07H:EAX.avx512-bf16 [bit 5]
kvm: warning: host doesn't support requested feature: MSR(10AH).taa-no [bit 8]
kvm: -device host-x86_64-cpu,id=cpu2,socket-id=0,core-id=1,thread-id=0: Invalid CPU type, expected cpu type: 'Cooperlake-x86_64-cpu'
stopping swtpm instance (pid 589998) due to QEMU startup error
TASK ERROR: start failed: QEMU exited with code 1
 
When I add those arguments the vm fails to boot.
you need to choose an older QEMU CPU variant than Cooperlake
you could also try changing the cpu type from cooper lake to host (this will mirror your CPU host bits, but then you may find windows boot loop)
 

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!