Skip to content

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

Open
obriat wants to merge 1 commit intodocksal:developfrom
obriat:issue/1055-remove-wsl1
Open

[draft] Migrate from WSL1 to WSL2 (fixes #1055)#1780
obriat wants to merge 1 commit intodocksal:developfrom
obriat:issue/1055-remove-wsl1

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

2 participants