wsl.rst
changeset 2532 67f29096ae1f
parent 2528 b86cd4fc873e
child 2533 3d0d8ed75cb5
equal deleted inserted replaced
2531:1d7b971334f9 2532:67f29096ae1f
    12   Windows Subsystem for Linux Documentation.
    12   Windows Subsystem for Linux Documentation.
    13 https://github.com/sirredbeard/Awesome-WSL
    13 https://github.com/sirredbeard/Awesome-WSL
    14   Awesome list dedicated to Windows Subsystem for Linux.
    14   Awesome list dedicated to Windows Subsystem for Linux.
    15 https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/
    15 https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/
    16   Automatically Configuring WSL.
    16   Automatically Configuring WSL.
       
    17 https://docs.microsoft.com/en-us/windows/wsl/troubleshooting
       
    18   Troubleshooting Windows Subsystem for Linux.
    17 
    19 
    18 https://github.com/sirredbeard/Awesome-WSL
    20 https://github.com/sirredbeard/Awesome-WSL
    19   Awesome list dedicated to Windows Subsystem for Linux.
    21   Awesome list dedicated to Windows Subsystem for Linux.
    20 
    22 
    21 wsl utility
    23 wsl utility
    40   wsl --user root ls
    42   wsl --user root ls
    41 
    43 
    42 Combining user & distro::
    44 Combining user & distro::
    43 
    45 
    44   wsl -u root -d alpine -- ls
    46   wsl -u root -d alpine -- ls
       
    47   wsl -u root -e sh -c "service apache status || service apache start"
    45 
    48 
    46 https://docs.microsoft.com/en-us/windows/wsl/wsl-config
    49 https://docs.microsoft.com/en-us/windows/wsl/wsl-config
    47   Ways to run WSL.
    50   Ways to run WSL.
    48 
    51 
    49 wslconfig utility
    52 wslconfig utility
   104 
   107 
   105 Convert a specific distro to WSL v1::
   108 Convert a specific distro to WSL v1::
   106 
   109 
   107   wsl --set-version Debian 1
   110   wsl --set-version Debian 1
   108 
   111 
       
   112 Debugging WSL
       
   113 =============
       
   114 
       
   115 https://github.com/Microsoft/WSL/blob/master/CONTRIBUTING.md
       
   116 https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/wsl.wprp
       
   117 https://github.com/Microsoft/WSL/blob/master/diagnostics/collect-wsl-logs.ps1
       
   118