'Windows Server 2022: Install docker container runtime for Linux images using WSL without Hyper-V

We want to install a docker container runtime on a (virtual) Windows Server 2022. This docker container should be able to run images on Linux (e.g. ubuntu). The server cannot run Hyper-V as it doesn't have the "required virtualization capabilities". However, WSL 2 is installed and runs Ubuntu. Docker Desktop at least suggests that the possibility exists, at least in non-server Windows installations: docker settings page that says: Use the WSL 2 based engine

However,

Microsoft has announced that Docker EE is on its way out and recommends "either containerd, Moby, or the Mirantis Container Runtime".

Is there a way to use WSL 2 to run a Linux image in a Windows Server container runtime? And is there a recommended container runtime to do this with?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source