Merge pull request #11324 from SQLvariant/patch-1

Update wsl.md
This commit is contained in:
Usha Mandya 2020-09-02 17:31:12 +01:00 committed by GitHub
commit 5506a754b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -42,17 +42,17 @@ Ensure you have completed the steps described in the Prerequisites section **bef
5. Click **Apply & Restart**.
6. Ensure the distribution runs in WSL 2 mode. WSL can run distributions in both v1 or v2 mode.
To check the WSL mode, run
To check the WSL mode, run:
`wsl -l -v`
`wsl.exe -l -v`
To upgrade your existing Linux distro to v2, run:
`wsl --set-version (distro name) 2`
`wsl.exe --set-version (distro name) 2`
To set v2 as the default version for future installations, run:
`wsl --set-default-version 2`
`wsl.exe --set-default-version 2`
7. When Docker Desktop restarts, go to **Settings** > **Resources** > **WSL Integration**.