Difference between revisions of "Windows Subsystem for Linux (WLS)"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
* <code>[[dism.exe]] /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart</code></code>
 
* <code>[[dism.exe]] /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart</code></code>
 +
 +
 +
<code>[[wsl --status]]</code>
 +
(no output)
  
 
<pre>
 
<pre>
Line 26: Line 30:
 
  https://aka.ms/wslstore
 
  https://aka.ms/wslstore
  
[[wsl --list --verbose]]
+
* <code>[[wsl --list --verbose]]</code>
 +
* <code>[[wsl --list]] --all --verbose</code>
  
[[Win+R]] ubuntu (command from [[cmd]])
+
*<code>[[Win+R]] ubuntu (command from [[cmd]])</code>
  
 
== Limitations ==
 
== Limitations ==
 
* No [[KVM]] support
 
* No [[KVM]] support
 
* No [[snap]] support
 
* No [[snap]] support
* No docker support
+
* No [[docker]] support
 +
* No [[systemd]] support: <code>[[System has not been booted with systemd as init system (PID 1). Can't operate.]]</code>
  
 
== Related terms ==
 
== Related terms ==
Line 42: Line 48:
 
* Enable nested virtualization: <code>[[Set-VMProcessor]] -VMName YOUR_VM_NAME -ExposeVirtualizationExtensions $true</code>
 
* Enable nested virtualization: <code>[[Set-VMProcessor]] -VMName YOUR_VM_NAME -ExposeVirtualizationExtensions $true</code>
 
* [[File explorer]]: <code>\\[[wsl]]$\Ubuntu</code>
 
* [[File explorer]]: <code>\\[[wsl]]$\Ubuntu</code>
 +
* <code>[[wsl (linux command)]]</code>
 +
* [[Enable-WindowsOptionalFeature –FeatureName Microsoft-Hyper-V -All]]
  
 
== See also ==
 
== See also ==
 +
* {{WSL}}
 
* {{Windows}}
 
* {{Windows}}
  
 
[[Category:Windows]]
 
[[Category:Windows]]

Latest revision as of 10:09, 29 August 2023

wikipedia:Windows Subsystem for Linux (2016)

  • dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart


wsl --status
(no output)
Deployment Image Servicing and Management tool
Version: 10.0.19041.572

Image Version: 10.0.19042.610

Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully.
wsl
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
wsl -l
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore

Limitations[edit]

Related terms[edit]

See also[edit]

Advertising: