Docker on WSL2 - 2021-08-02 00:00:00

Docker on WSL2 For $newGig, I decided to request a Windows PC rather than a MacBook and go all in on using WSL 2 as my primary dev environment. There are a few steps required to get this working. Systemd WSL runs a modified PID 1 that optimizes startup for running on the WSL hypervisor. Unfortunately, this means by default Systemd doesn’t work on a WSL distro. Fortunately, there’s a project Genie that works around this issue with some namespace magic, and allows starting Systemd as PID 1.