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

1

9

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?

Prather answered 12/5, 2022 at 12:26 Comment(2)
Wondering if you got the linux containers working in windows server 2022 using WSL 2?Aftonag
@Aftonag No, ended up not using Docker at all.Prather
S
1

There is a now a possibility to run Linux Containers on Windows Server 2022 using WSL 2 , for development and testing purposes, have a look at this article from microsoft

Although it is quite a bit of work to get it running, specially the network part of it..

Subacid answered 29/10, 2022 at 19:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.