This guide will enable
systemd to run as normal under WSL 2. This will enable services like
docker and many more to
just work during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.
systemdunder WSL we require a tool called
Copy the contents of
install-sg.shto a new file