WSL2 manual, .sh script, && docker-compose setups for a linux vm running php 7.4, nginx, mysql and wordpress
docker desktop for windows
or docker + docker-compose for linuxdocker-compose up
http://localhost:8080
Dev Containers
vscode plugin -> https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containersdocker-compose up
open the Dev Container vs code dashboard, it will auto-detect any running containers [in this case you should see "DEV VOLUMES" -> linux-lemp-ubuntu-22_wordpress
and select EXPLORE IN DEV CONTAINER
wget -O - https://raw.githubusercontent.com/icarus-gg/linux-LEMP-ubuntu-22/main/ubuntu-22-lemp.sh | sudo bash
Uninstall
> confirmUbuntu
shows Installed
, close and reopen again until it shows Install
on hoverwsl -l -v
// look for `Ubuntu-XX.XX`
wsl --unregister Ubuntu-XX.XX`
Start
> Ubu
doesn't return any results to Ubuntu XX
app
Uninstall
and reclick the start menu until it disappears.Ubuntu
Install
on Ubuntu XX -> (note it may still show Owned
but when you hover over it should show Install
)