Git Product home page Git Product logo

Comments (5)

Alex-D avatar Alex-D commented on August 15, 2024

Hey!

  1. Because it was not possible at the beginning of WSL 2, and I did not give it a try since I am not working with Docker on my current projects. So, maybe later :)
  2. I run IntelliJ inside WSL 2 because the network mount between Windows and WSL is very very slow. Also, if your libs are in WSL, IntelliJ will get access to it (eg: go, git, ...) so you do not need to configure them twice.
  3. Yep, I need the WSL Bridge to open ports and get access to servers running under WSL 2, from a browser on Windows, or from other computers on the same network for test purposes.

Hope it helps :)

from dotfiles.

Alex-D avatar Alex-D commented on August 15, 2024
  1. I've tried it, it works! I just need to add some tricks to start the Docker daemon automatically at startup.

from dotfiles.

Alex-D avatar Alex-D commented on August 15, 2024

I've managed to get systemd working on WSL2, making docker daemon starting by itself, and I did not need Docker Desktop anymore 🎉🎉🎉

from dotfiles.

mcoiffier avatar mcoiffier commented on August 15, 2024

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/)

from dotfiles.

Alex-D avatar Alex-D commented on August 15, 2024

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 ^^

from dotfiles.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.