Thanks to WSLg, we can now run applications, like our IDE, from inside Linux, as if it was a normal Windows application. WSLg, a new feature in the latest version of WSL2 on Windows 11, is a game changer. But now your IDE is suddenly slower because now your IDE is reading from a mounted volume. You also have the choice to put your project code inside your Linux filesystem and point your IDE to that folder. It also introduced other challenges like file permissions. Your project code lives on your Windows filesystem, but your docker environment runs from a virtualized environment, causing a lot of lag since it's reading from a mounted Windows volume. This introduces a new problem mounted volumes. Both Windows and macOS run a layer of virtualization to bridge the gap for Docker to work. When working with Docker on a non-Linux based environment, you're always dealing with some form of virtualization. In my opinion this is the last step needed to make Windows a much more viable environment for developing PHP applications. Microsoft has introduced some awesome stuff with WSL2 and in particular WSLg (Windows Subsystem for Linux GUI). Installing PhpStorm in WSL2 GUI (WSLg) 4th December 2022 Problem
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |