Windows 11: no matching manifest for windows/amd64 10.0.22621 in the manifest list entries

I’m trying to create an Ubuntu VM on my Windows 11 box via Docker. I found these instructions:

and when I get to the pull step:

docker.exe pull ubuntu

I get an error:

no matching manifest for windows/amd64 10.0.22621 in the manifest list entries

What’s the issue here? How can I fix this?

First of all, Docker doesn’t run VMs by default, only containers. That is a totally different thing. Except that on Windows, you need a VM to run Linux containers, but it seems you switched to Windows containers and the image you want to use is not available for Windows.

Switch to Linux containers

https://learn.microsoft.com/en-us/virtualization/windowscontainers/quick-start/quick-start-windows-10-linux#run-your-first-linux-container