From a79fa7dc32576a17c53585e6c8caedc60bf6be02 Mon Sep 17 00:00:00 2001 From: Andrea Reale <154321632+andrea-reale@users.noreply.github.com> Date: Tue, 11 Jun 2024 14:21:06 +0200 Subject: [PATCH] WSL2 docs: add tip on how to move data on windows (#20206) * WSl2 docs: add tipo on how to move data on windows Some customers want to move WSL data on a different location and many of those use crafty processes rather than using the feature we support. Making this feature more explicit. * Apply suggestions from code review --------- Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com> --- content/desktop/wsl/_index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/desktop/wsl/_index.md b/content/desktop/wsl/_index.md index 678e5883ff..8e44e0f717 100644 --- a/content/desktop/wsl/_index.md +++ b/content/desktop/wsl/_index.md @@ -51,6 +51,13 @@ Before you turn on the Docker Desktop WSL 2 feature, ensure you have: Now `docker` commands work from Windows using the new WSL 2 engine. +>**Tip** +> +> By default, Docker Desktop stores the data for the WSL 2 engine at `C:\Users\[USERNAME]\AppData\Local\Docker\wsl`. +> If you want to change the location, for example, to another drive you can do so via the `Settings -> Resources -> Advanced` page from the Docker Dashboard. +> Read more about this and other Windows settings at [Changing Docker Desktop settings on Windows](../settings/windows.md) +{ .tip } + ## Enabling Docker support in WSL 2 distros WSL 2 adds support for "Linux distros" to Windows, where each distro behaves like a VM except they all run on top of a single shared Linux kernel. @@ -90,6 +97,7 @@ Docker Desktop does not require any particular Linux distros to be installed. Th > > Docker Desktop installs two special-purpose internal Linux distros `docker-desktop` and `docker-desktop-data`. The first (`docker-desktop`) is used to run the Docker engine (`dockerd`) while the second (`docker-desktop-data`) stores containers and images. Neither can be used for general development. + ## Additional resources - [Explore best practices](best-practices.md)