Skip to content

Instantly share code, notes, and snippets.

Working from home

Mark Wood-Patrick mwoodpatrick

Working from home
  • nvidia
  • United States
View GitHub Profile
mwoodpatrick /
Created Dec 28, 2020 — forked from djfdyuruiry/
WSL 2 - Enabling systemd

Enable systemd in WSL 2

This guide will enable systemd to run as normal under WSL 2. This will enable services like microk8s, 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.

  • To enable systemd under WSL we require a tool called systemd-genie

  • Copy the contents of to a new file /tmp/

    cd /tmp