I switched to using “volumes” within docker which fixed performance problems (back to instant page loads) but then the problem is I cannot access my code because it lives within the “docker-desktop-data” wsl2 installation. I was able to set it up and use “bind mounts” to be able to pass code to the docker containers but performance was horrible (2-5+ second page loads). How are you guys setting up Docker Desktop to work with PHPStorm? Is the only way to do it to install docker on the Ubuntu-22.04 WSL2 installation? Then run docker from there? I would much prefer to use the docker desktop application vs the command line… As it just easier than remembering all of the commands. When I go to Open a new project in PHP storm (and even VS Code) they can only see the “Ubuntu-22.04” under the WSL option. See the new features in action Join our YouTube stream on April 3 at 17:00 CEST (15:00 UTC). Docker desktop created its own WSL2 installation titled “docker-desktop” and “docker-desktop-data”: P圜harm 2023.1 is out The first major release of the year brings support for remote Jupyter notebooks, enhancements to the new UI, improved type inference for generics, and much more. I'm not understanding why it works this way but when I installed Docker Desktop for Windows 11, it forced me to use WSL2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |