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

[draft] Migrate from WSL1 to WSL2 (fixes #1055) #1780

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

obriat
Copy link
Contributor

@obriat obriat commented Jun 9, 2023

fixes #1055

Here a draft PR that remove WSL1 dependencies and add some helpers for WSL2.

My hypotheses:

  • WSL2 should be seen as a standard Linux distribution (it's the current mode, since WSL2 is detected as Linux by fin).
  • It should only work with *.docksal.site/192.168.64.100 DOCKSAL_NO_DNS_RESOLVER=1 (no dns container)
  • It should only work with native docker : no virtual box or docker desktop

I keep some wsl function in order to do some operations (WIP):

  • Check that windows FS is mounted on /c (change /etc/wsl.conf if not)
  • Add a fixed IP 192.168.64.100 to WSL2
  • Change hosts file on the windows side ?

Any helps or suggestions are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support WSL 2 on Windows
1 participant