W
W
wideShift2022-03-26 19:29:00
linux
wideShift, 2022-03-26 19:29:00

Is there anyone here who uses WSL2 all the time?

Until recently, I worked with projects on Ubuntu.
I use the following: PHP (Laravel), PostgreSQL, Git, Python (Django), MySQL, Docker, PHPStorm, PyCharm.
I decided to experiment and work with all this on Windows 11 under WSL.
Do I understand correctly that all this should not be installed on Windows (except for PHPStorm, PyCharm )?
What problems will I face and is it possible to work comfortably with WSL?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2022-03-26
@ky0

Docker without a tambourine in WSL (even version two) does not work. I had attempts to do without a virtual machine in Windows - but on the docker, my patience ran out and I piled up the real Ubuntu in virtualbox, which solved 99% of the problems.

R
rPman, 2022-03-26
@rPman

Almost all of the above can work natively under windows without virtualization at all (I don’t know why I should engage in sadomasochism about the win11 version), but installing and configuring packages will be a little less comfortable.
If you choose whether to use wsl2 or not, I would advise using a full-fledged virtualization system (the only reason you could use it is the declared native support for GPU forwarding, but I didn’t get to try it myself, I switched to linux), even though the regular one from Microsoft hyperv at least the same virtualbox (it has a more convenient interface)
From the point of view of using windows and a virtual machine, the performance of the machine will slightly decrease due to the use of virtualization and the cost of RAM (this is noticeable when you start using number crushers, but a few percent, and I'm talking about the speed of programs on the host and not just the guest)
And in pursuit, if you really have to choose, it’s better to use linux as a host system and, if necessary, run windows in a virtual machine, but there are problems with licensing (only expensive versions of windows allow this legally), especially if windows does not need to use gpu

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question