summaryrefslogtreecommitdiffstats
path: root/man/systemd-detect-virt.xml
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@canonical.com>2019-03-06 18:46:04 +0100
committerLennart Poettering <lennart@poettering.net>2019-03-13 18:42:27 +0100
commit6c8a2c679313f8283514923daf65f5e9d050d94c (patch)
tree5999e814ee4eaa5a08bdeff93dcd031cf613981d /man/systemd-detect-virt.xml
parenttests: add tests for embedded newlines in /proc/cmdline (diff)
downloadsystemd-6c8a2c679313f8283514923daf65f5e9d050d94c.tar.xz
systemd-6c8a2c679313f8283514923daf65f5e9d050d94c.zip
virt: detect WSL environment as a container (id: wsl)
Diffstat (limited to 'man/systemd-detect-virt.xml')
-rw-r--r--man/systemd-detect-virt.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/man/systemd-detect-virt.xml b/man/systemd-detect-virt.xml
index 5c5510eaf2..1f5270dbb2 100644
--- a/man/systemd-detect-virt.xml
+++ b/man/systemd-detect-virt.xml
@@ -131,7 +131,7 @@
</row>
<row>
- <entry valign="top" morerows="5">Container</entry>
+ <entry valign="top" morerows="6">Container</entry>
<entry><varname>openvz</varname></entry>
<entry>OpenVZ/Virtuozzo</entry>
</row>
@@ -160,6 +160,11 @@
<entry><varname>rkt</varname></entry>
<entry>rkt app container runtime</entry>
</row>
+
+ <row>
+ <entry><varname>wsl</varname></entry>
+ <entry><ulink url="https://docs.microsoft.com/en-us/windows/wsl/about">Windows Subsystem for Linux</ulink></entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -169,6 +174,12 @@
machine and container virtualization are used in
conjunction, only the latter will be identified (unless
<option>--vm</option> is passed).</para>
+ <para> Windows Subsystem for Linux is not a Linux container,
+ but an environment for running Linux userspace applications on
+ top of the Windows kernel using a Linux-compatible interface.
+ WSL is categorized as a container for practical purposes.
+ Multiple WSL environments share the same kernel and services
+ should generally behave like when being run in a container.</para>
</refsect1>
<refsect1>