$ docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PrjClearNegativePathCache, 1, 0x3820 | |
PrjCloseFile, 2, 0x2800 | |
PrjCommandCallbacksInit, 3, 0x3d20 | |
PrjCompleteCommand, 4, 0x34e0 | |
PrjConfigureVolume, 5, 0x52b0 | |
PrjConvertDirectoryToPlaceholder, 6, 0x1330 | |
PrjCreatePlaceholderAsHardlink, 7, 0x1ea0 | |
PrjDeleteFile, 8, 0x3120 | |
PrjDetachDriver, 9, 0x5110 | |
PrjDoesNameContainWildCards, 10, 0x5810 |
NOTE: If you have Windows 11 there is now an official way to do this in WSL 2, use it if possible - see MS post here (WINDOWS 11 ONLY)
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 calledsystemd-genie
-
Copy the contents of
install-sg.sh
to a new file/tmp/install-sg.sh
:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is one of Stéphane BARIZIEN's public domain scripts | |
# the most recent version can be found at: | |
# https://gist.github.com/sba923/7924b726fd44af91d18453ee595e6548#file-convertfrom-wingetstdout-ps1 | |
#requires -version 7 | |
# This crude script converts the output of the winget.exe executable into an array of PowerShell objects | |
# usage: winget <args> | ConvertFrom-WingetStdout.ps1 | |
# | |
# examples of application: |