From 7e99554165b2cf9184bee13c7f7eb18c3f2a5457 Mon Sep 17 00:00:00 2001 From: aevesdocker Date: Thu, 13 Feb 2025 12:15:11 +0000 Subject: [PATCH 1/2] ENGDOCS-2427 --- content/manuals/desktop/features/wsl/_index.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/manuals/desktop/features/wsl/_index.md b/content/manuals/desktop/features/wsl/_index.md index d0eadf5526d0..0a0ea5daeeae 100644 --- a/content/manuals/desktop/features/wsl/_index.md +++ b/content/manuals/desktop/features/wsl/_index.md @@ -103,6 +103,15 @@ Docker Desktop does not require any particular Linux distributions to be install > > Note that Docker Desktop version 4.30 and later keeps using the `docker-desktop-data` distribution if it was already created by an earlier version of Docker Desktop and has not been freshly installed or factory reset. +### WSL 2 security in Docker Desktop + +Docker Desktop’s WSL 2 integration operates within the existing security model of WSL and does not introduce additional security risks beyond standard WSL behavior. + +Docker Desktop runs within its own dedicated WSL distribution, `docker-desktop`, which follows the same isolation properties as any other WSL distribution. The only interaction between Docker Desktop and other installed WSL distributions occurs when the Docker Desktop **WSL integration** feature is enabled in settings. This feature allows easy access to the Docker CLI from integrated distributions. + +WSL is designed to facilitate interoperability between Windows and Linux environments. Its file system is accessible from the Windows host `\\wsl$`, meaning Windows processes can read and modify files within WSL. This behavior is not specific to Docker Desktop, but rather a core aspect of WSL itself. + +For organizations concerned about security risks related to WSL and want stricter isolation and security controls, run Docker Desktop in Hyper-V mode instead of WSL 2. ## Additional resources From 75221dcc9c4901887cbbc4eb6a71aab2dc4183ec Mon Sep 17 00:00:00 2001 From: aevesdocker Date: Thu, 13 Feb 2025 12:16:41 +0000 Subject: [PATCH 2/2] fix heading level --- content/manuals/desktop/features/wsl/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/manuals/desktop/features/wsl/_index.md b/content/manuals/desktop/features/wsl/_index.md index 0a0ea5daeeae..cf84a0e65cc7 100644 --- a/content/manuals/desktop/features/wsl/_index.md +++ b/content/manuals/desktop/features/wsl/_index.md @@ -103,7 +103,7 @@ Docker Desktop does not require any particular Linux distributions to be install > > Note that Docker Desktop version 4.30 and later keeps using the `docker-desktop-data` distribution if it was already created by an earlier version of Docker Desktop and has not been freshly installed or factory reset. -### WSL 2 security in Docker Desktop +## WSL 2 security in Docker Desktop Docker Desktop’s WSL 2 integration operates within the existing security model of WSL and does not introduce additional security risks beyond standard WSL behavior.