From 6c8a2c679313f8283514923daf65f5e9d050d94c Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Wed, 6 Mar 2019 18:46:04 +0100 Subject: virt: detect WSL environment as a container (id: wsl) --- man/systemd-detect-virt.xml | 13 ++++++++++++- man/systemd.unit.xml | 1 + 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'man') 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 @@ - Container + Container openvz OpenVZ/Virtuozzo @@ -160,6 +160,11 @@ rkt rkt app container runtime + + + wsl + Windows Subsystem for Linux + @@ -169,6 +174,12 @@ machine and container virtualization are used in conjunction, only the latter will be identified (unless is passed). + 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. diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 14418c359f..93b576d539 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -1089,6 +1089,7 @@ systemd-nspawn, docker, rkt, + wsl, acrn to test against a specific implementation, or private-users to check whether we are running in a user namespace. See -- cgit v1.2.1