Docker poor speed of locahost on Windows

  docker, laravel, nginx, php

After intalling Docker on windows and setting some settings for that. after opening firefox and locating localhost its take a long time to opening my web application which i should see on browser. as far i installed Ubuntu linux from windows store i’m not sure my projects should be placed on that or not. without considering ubuntu installation i created .wslconfig into user directory with this content:

[wsl2]
memory=4GB # Limits VM memory in WSL 2 to 4 GB
processors=2 # Makes the WSL 2 VM use two virtual processors

please look at this screen shot

enter image description here

Source: Laravel

Leave a Reply