Closed mcoiffier closed 3 years ago
Hey!
Hope it helps :)
I've managed to get systemd working on WSL2, making docker daemon starting by itself, and I did not need Docker Desktop anymore 🎉🎉🎉
Great news ! To be honest I am still working on wsl1. At the moment I find it really tricky to set up such an environment to really take advantage of the performance of wsl 2...
Have you heard of WSLg? What do you think about it? Looks like we'll be able to do the job without our friend VcXsrv (https://devblogs.microsoft.com/commandline/the-initial-preview-of-gui-app-support-is-now-available-for-the-windows-subsystem-for-linux-2/)
Yep, I've checked WSLg :) I do not want to go Insider on my work computer, neither upgrading to Windows 11 for now.
I'm testing IntelliJ Idea on Windows connecting to WSL2, it works almost perfectly. I have issues with PHPStan and PHPCS since it's not yet compatible with WSL2 :(
VcXsrv does the job until WSLg ^^
@Alex-D First of all thank you very much for your readme, I feel it's the most exhaustive on how to use Intelij, docker and WSL 2 😃 👍
I didn't find any problem, but I have some questions to understand how all the elements fit together.
Why use docker desktop and not only docker from wsl2? For the container management GUI or for other things?
Why run IntelliJ from WSL 2? Isn't there a way to access files placed in a docker container that is living on WSL 2?
In which case is the WSL Bridge useful? Is it for instance when you run a server on WSL 2 and you want to see it on your browser from the Windows machine?
Thanks again !