github.com/shayne/go-wsl2-host
v0.3.5
#998 most downloaded on Go modules
shayne/go-wsl2-host
What this package is like to depend on
Last release 4 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 2.5 years
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
13 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
13 releases · Jun 2019 to Jan 2023Releases
latest 13-
v0.3.6-0.20230112094512-8bad63614d7b12 Jan 2023 pre-releaseNothing published for this version
-
v0.3.521 Jul 2020Release notes
Open source →v0.3.5 Changes
- 127.0.0.1 for WSL 1
To upgrade:
From an elevated / Administrator console
> .\wsl2host.exe stop > .\wsl2host.exe remove > .\wsl2host.exe install -
v0.3.415 Mar 2020Release notes
Open source →v0.3.4 Changes
- A more robust implementation of detecting the IP address using /proc (fix for #17)
v0.3.3 Changes
- Introduce distro agnostic approach to getting WSL IP using /proc/net/fib_trie
- Ignore Docker Desktop distros (having prefix "docker-desktop")
To upgrade:
From an elevated / Administrator console
> .\wsl2host.exe stop > .\wsl2host.exe remove > .\wsl2host.exe install -
v0.3.311 Mar 2020Release notes
Open source →v0.3.3 Changes
- Introduce distro agnostic approach to getting WSL IP using /proc/net/fib_trie
- Ignore Docker Desktop distros (having prefix "docker-desktop")
To upgrade:
From an elevated / Administrator console
> .\wsl2host.exe stop > .\wsl2host.exe remove > .\wsl2host.exe install -
v0.3.212 Nov 2019Release notes
Open source →v0.3.1 Changes
- Fix error logic around getting IP from WSL2 VM
- Add more Windows Event Viewer logging
Specifying aliases
As of v0.3 you can no specify aliases that point to your WSL2 VM IP. Having
some.client.local, may be useful in your development workflow.To do this, create the file
~/.wsl2hostsin your default WSL2 distro. Host names are space separated:some.client.local my-app.local wsl.localTo upgrade:
From an elevated / Administrator console
> .\wsl2host.exe stop > .\wsl2host.exe remove > .\wsl2host.exe install -
v0.3.111 Nov 2019Release notes
Open source →v0.3.1 Changes
- Add
f.Sync()call #9
Specifying aliases
As of v0.3 you can no specify aliases that point to your WSL2 VM IP. Having
some.client.local, may be useful in your development workflow.To do this, create the file
~/.wsl2hostsin your default WSL2 distro. Host names are space separated:some.client.local my-app.local wsl.localTo upgrade:
From an elevated / Administrator console
> .\wsl2host.exe stop > .\wsl2host.exe remove > .\wsl2host.exe install - Add
-
v0.3.001 Nov 2019Release notes
Open source →v0.3.0 Changes
- Aliases via ~/.wsl2hosts
Specifying aliases
As of v0.3 you can no specify aliases that point to your WSL2 VM IP. Having
some.client.local, may be useful in your development workflow.To do this, create the file
~/.wsl2hostsin your default WSL2 distro. Host names are space separated:some.client.local my-app.local wsl.localTo upgrade:
From an elevated / Administrator console
> .\wsl2host.exe stop > .\wsl2host.exe remove > .\wsl2host.exe install -
v0.2.231 Oct 2019Release notes
Open source →v0.2.2 changes
- Make
removemore robust in cleaning up service and eventlog source (clean remove)
NOTE: Upgrading Windows Insider will remove the service, but not cleanly. To reinstall after upgrading, first make sure you've downloaded the latest version of
wsl2host, then runremovebeforeinstallTo upgrade:
From an elevated / Administrator console
> .\wsl2host.exe stop > .\wsl2host.exe remove > .\wsl2host.exe install - Make
-
v0.2.107 Oct 2019Release notes
Open source →v0.2.1 changes
- Only update hosts file if change detected
Complete re-write
- Changes to use
<distro-hostname>.wsl. Distro names are normalized to hostnames, i.e. Ubuntu-18.04 becomesubuntu1804.wsl. - Supports multiple distros at once, each one
<distro-hostname>.wsl - Removes support for
windows.local, if this was important let me know.
To upgrade:
From an elevated / Administrator console
> .\wsl2host.exe stop > .\wsl2host.exe remove > .\wsl2host.exe install -
v0.2.007 Oct 2019Release notes
Open source →Complete re-write
- Changes to use
<distro-hostname>.wsl. Distro names are normalized to hostnames, i.e. Ubuntu-18.04 becomesubuntu1804.wsl. - Supports multiple distros at once, each one
<distro-hostname>.wsl - Removes support for
windows.local, if this was important let me know.
To upgrade:
From an elevated / Administrator console
> .\wsl2host.exe stop > .\wsl2host.exe remove > .\wsl2host.exe install - Changes to use
-
v0.1.1-alpha01 Jul 2019 pre-releaseNothing published for this version
-
v0.1.0-alpha30 Jun 2019 pre-releaseNothing published for this version
-
v0.0.0-20190630093305-df0835928b0930 Jun 2019 pre-releaseNothing published for this version