How to create a docker based LAMP stack using docker on Ubuntu 20.04 - LinuxConfig.org

LAMP is the software stack on which probably the majority of websites run. Linux represents the foundation of the stack, and the traditional implementation includes Apache as the web server, the MySQL database, and PHP as the server-side programming language.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-create-a-docker-based-lamp-stack-using-docker-on-ubuntu-20-04