Before the minute, it assumes you have the knowledge on Git and Docker, and already installed Git and Docker Desktop. If not, please pick from there:
Long story short, let's go!
1) Clone the project from GitHub (ssmak/lamp 👈 Cool! it is my project! 😃)
git clone https://github.com/ssmak/lamp.git
2) Enter the project directory
3) Start the LAMP stack
docker-compose up -d
That's it! Please check with the link http://127.0.0.1. It is the document root and mapped to the project path of ~/container_volume/www/default/html. You can also access with HTTPS, a self-signed certificate has been already generated.
Connect to MySQL with IP:PORT (127.0.0.1:3306) and the credential (user: root password: root).
Visit http://127.0.0.1/phpinfo.php and you can see the detail settings. Notes that many common modules have been already installed for you such as MySQLi, MongoDB, Memcached, Redis and GD, etc.
For more details, please visit the project on GitHub