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:
However,
- Docker for Desktop, which supports WSL, is not supported on Windows Server.
- https://mcmap.net/q/324790/-linux-docker-container-on-windows-server-2016\ doesn't work because it requires Hyper-V, seems quite hacky
- https://computingforgeeks.com/how-to-run-docker-containers-on-windows-server-2019/
also requires Hyper-V
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?