MicrosoftDocs / WSL

Source code behind the Windows Subsystem for Linux documentation.
https://docs.microsoft.com/windows/wsl
Other
1.88k stars 554 forks source link

Updated guide to fix an issue because of a wrong command #1884

Closed vmsteiner closed 6 months ago

vmsteiner commented 6 months ago

Running Dev Containers: Open Folder in Container... when using this guide is not / no longer correct, as most readers will already have opened the folder while connected to WSL based on the steps provided above. We need to use Dev Containers: Reopen in Container or it will fail to create the .devcontainer folder and devcontainer.json and give a (unfortunately not very clear) error message.

See also: https://code.visualstudio.com/docs/devcontainers/containers#_open-a-wsl-2-folder-in-a-container-on-windows

learn-build-service-prod[bot] commented 6 months ago

Learn Build status updates of commit 12731d4:

:white_check_mark: Validation status: passed

File Status Preview URL Details
WSL/tutorials/wsl-containers.md :white_check_mark:Succeeded View

For more details, please refer to the build report.

For any questions, please:

learn-build-service-prod[bot] commented 6 months ago

Learn Build status updates of commit 9aa491e:

:white_check_mark: Validation status: passed

File Status Preview URL Details
WSL/tutorials/wsl-containers.md :white_check_mark:Succeeded View

For more details, please refer to the build report.

For any questions, please:

mattwojo commented 6 months ago

Thanks @vmsteiner !