Switching WSL version.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 19 May 2022 15:24:37 +0300
changeset 2528 b86cd4fc873e
parent 2527 a60864c290cc
child 2529 5656ce3673e9
Switching WSL version.
wsl.rst
--- a/wsl.rst	Wed May 18 16:28:14 2022 +0300
+++ b/wsl.rst	Thu May 19 15:24:37 2022 +0300
@@ -15,6 +15,9 @@
 https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/
   Automatically Configuring WSL.
 
+https://github.com/sirredbeard/Awesome-WSL
+  Awesome list dedicated to Windows Subsystem for Linux.
+
 wsl utility
 ===========
 
@@ -92,3 +95,14 @@
 https://docs.microsoft.com/en-us/windows/wsl/wsl-config
   ``/etc/wsl.conf`` configuration options.
 
+Switching WSL version
+=====================
+
+Set default version for new containers::
+
+  wsl --set-default-version 1
+
+Convert a specific distro to WSL v1::
+
+  wsl --set-version Debian 1
+