You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/manuals/desktop/features/wsl/_index.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,11 +58,11 @@ Now `docker` commands work from Windows using the new WSL 2 engine.
58
58
> 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.
59
59
> Read more about this and other Windows settings at [Changing settings](/manuals/desktop/settings-and-maintenance/settings.md)
60
60
61
-
## Enabling Docker support in WSL 2 distros
61
+
## Enabling Docker support in WSL 2 distributions
62
62
63
-
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.
63
+
WSL 2 adds support for "Linux distributions" to Windows, where each distribution behaves like a VM except they all run on top of a single shared Linux kernel.
64
64
65
-
Docker Desktop does not require any particular Linux distros to be installed. The `docker` CLI and UI all work fine from Windows without any additional Linux distros. However for the best developer experience, we recommend installing at least one additional distro and enable Docker support:
65
+
Docker Desktop does not require any particular Linux distributions to be installed. The `docker` CLI and UI all work fine from Windows without any additional Linux distributions. However for the best developer experience, we recommend installing at least one additional distribution and enable Docker support:
66
66
67
67
1. Ensure the distribution runs in WSL 2 mode. WSL can run distributions in both v1 or v2 mode.
68
68
@@ -72,10 +72,10 @@ Docker Desktop does not require any particular Linux distros to be installed. Th
72
72
$ wsl.exe -l -v
73
73
```
74
74
75
-
To upgrade the Linux distro to v2, run:
75
+
To upgrade the Linux distribution to v2, run:
76
76
77
77
```console
78
-
$ wsl.exe --set-version (distro name) 2
78
+
$ wsl.exe --set-version (distribution name) 2
79
79
```
80
80
81
81
To set v2 as the default version for future installations, run:
@@ -86,19 +86,19 @@ Docker Desktop does not require any particular Linux distros to be installed. Th
86
86
87
87
2. When Docker Desktop starts, go to **Settings** > **Resources** > **WSL Integration**.
88
88
89
-
The Docker-WSL integration is enabled on the default WSL distribution, which is [Ubuntu](https://learn.microsoft.com/en-us/windows/wsl/install). To change your default WSL distro, run:
89
+
The Docker-WSL integration is enabled on the default WSL distribution, which is [Ubuntu](https://learn.microsoft.com/en-us/windows/wsl/install). To change your default WSL distribution, run:
90
90
```console
91
-
$ wsl --set-default <distro name>
91
+
$ wsl --set-default <distribution name>
92
92
```
93
93
94
94
3. Select **Apply & Restart**.
95
95
96
96
> [!NOTE]
97
97
>
98
-
> With Docker Desktop version 4.30 and earlier, Docker Desktop installed two special-purpose internal Linux distros`docker-desktop` and `docker-desktop-data`. `docker-desktop` is used to run the Docker engine `dockerd`, while`docker-desktop-data` stores containers and images. Neither can be used for general development.
98
+
> With Docker Desktop version 4.30 and earlier, Docker Desktop installed two special-purpose internal Linux distributions`docker-desktop` and `docker-desktop-data`. `docker-desktop` is used to run the Docker engine `dockerd`, while`docker-desktop-data` stores containers and images. Neither can be used for general development.
99
99
>
100
100
> With fresh installations of Docker Desktop 4.30 and later, `docker-desktop-data` is no longer created. Instead, Docker Desktop creates and
101
-
> manages its own virtual hard disk for storage. The `docker-desktop`distro is still created and used to run the Docker engine.
101
+
> manages its own virtual hard disk for storage. The `docker-desktop`distribution is still created and used to run the Docker engine.
102
102
>
103
103
> 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.
Copy file name to clipboardExpand all lines: content/manuals/desktop/features/wsl/use-wsl.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,11 @@ aliases:
6
6
- /desktop/wsl/use-wsl/
7
7
---
8
8
9
-
The following section describes how to start developing your applications using Docker and WSL 2. We recommend that you have your code in your default Linux distribution for the best development experience using Docker and WSL 2. After you have turned on the WSL 2 feature on Docker Desktop, you can start working with your code inside the Linux distro and ideally with your IDE still in Windows. This workflow is straightforward if you are using [VS Code](https://code.visualstudio.com/download).
9
+
The following section describes how to start developing your applications using Docker and WSL 2. We recommend that you have your code in your default Linux distribution for the best development experience using Docker and WSL 2. After you have turned on the WSL 2 feature on Docker Desktop, you can start working with your code inside the Linux distribution and ideally with your IDE still in Windows. This workflow is straightforward if you are using [VS Code](https://code.visualstudio.com/download).
10
10
11
11
## Develop with Docker and WSL 2
12
12
13
-
1. Open VS Code and install the [Remote - WSL](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl) extension. This extension lets you work with a remote server in the Linux distro and your IDE client still on Windows.
13
+
1. Open VS Code and install the [Remote - WSL](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl) extension. This extension lets you work with a remote server in the Linux distribution and your IDE client still on Windows.
14
14
2. Open your terminal and type:
15
15
16
16
```console
@@ -22,7 +22,7 @@ The following section describes how to start developing your applications using
22
22
$ code .
23
23
```
24
24
25
-
This opens a new VS Code window connected remotely to your default Linux distro which you can check in the bottom corner of the screen.
25
+
This opens a new VS Code window connected remotely to your default Linux distribution which you can check in the bottom corner of the screen.
26
26
27
27
28
28
Alternatively, you can open your default Linux distribution from the **Start** menu, navigate to your project directory, and then run `code .`
0 commit comments