Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: WSL2 support #2849

Closed
2 tasks done
chrmarti opened this issue Apr 27, 2020 · 1 comment
Closed
2 tasks done

Test: WSL2 support #2849

chrmarti opened this issue Apr 27, 2020 · 1 comment

Comments

@chrmarti
Copy link
Contributor

chrmarti commented Apr 27, 2020

Ref - #2779

Complexity: 5


Preparation

Testing

Test basic operations using Remote-Containers commands and the Remote Explorer while having:

  • open a local folder under \\wsl$\Ubuntu\... (if Ubuntu is your distro).
  • open the same folder(s) with the Remote-WSL extension.
  • while being connected to a container with a WSL folder (starting from one of the two above) as its base.

You don't need to test 'attaching' to an existing container nor opening a container from a repository (these are not using WSL2). Only test opening from a folder with a devcontainer.json:

Check that Git credentials are forwarded from the WSL distro:

  • Install Git and a Git credential helper in the WSL distro.
  • Verify you can use git on a private repository without being asked for the credentials in the WSL distro.
  • Verify you can do the same in a dev container started from a WSL folder.

Notes

If using a Parallels VM, make sure to enable nested virtualization and be generous with RAM and cores:
image

@aeschli
Copy link
Contributor

aeschli commented Apr 28, 2020

Great work!

@aeschli aeschli removed their assignment Apr 28, 2020
@Tyriar Tyriar removed their assignment Apr 28, 2020
@Tyriar Tyriar closed this as completed Apr 28, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants