Linux (Centos7), Apache (2.4.6), MariaDB(5.5.68), PHP(7.2.34)
To use ez-lamp you must first have the below software.
- git
- docker
First you must get the ez-lamp image by building it yourself or grabbing it from dockerhub. Then you just run the image and bam lamp in a docker container. Simple as that.
- Clone the ez-lamp repository
- open git bash in desired repo location on local machine
- clone the repository using the command -
git clone https://github.com/corey-Robinson1337/ez-lamp.git
- Build the Image using the Dockerfile
- open your terminal at the root of the newly cloned ez-lamp repo.
- build the docker image using the command -
docker build -t <image_name> .
- Run the image
- open a terminal
- Start a docker container running the image using the command -
docker run --privileged -p 80:80 -p 3306:3306 -p 443:443 <image_name>
- open your terminal
- get the container image from dockerhub by using command -
docker pull coreyrobinson81/ez-lamp
- Start a docker container running the image you just grabbed using the command -
docker run --privileged -p 80:80 -p 3306:3306 -p 443:443 coreyrobinson81/ez-lamp