A Docker LAMP stack to use for both Web development and production mode. Extending Centos/systemd in the docker file is optional but very useful (allows us to save a lot of time)...
A Docker file to build an run container with Centos7 + MariaDB5.5 + PHP5.4
docker build --rm --no-cache -t centos7mariadb55php54_image .
docker run --privileged --name centos7mariadb55php54_container -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 80:80 -d centos7mariadb55php54_image
docker run --privileged --name centos7mariadb55php54_container -v /home/nafaa/monServeurLocal/htdocs:/var/www/html -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 80:80 -p 3306:3306 -v /home/nafaa/monServeurLocal/mariadb:/var/lib/mysql -d centos7mariadb55php54_image
;-)
__ _
/ _| (_)
_ __ | |_ _ __ _ __ _ __ _
| '_ \| _| '__| |/ _` |/ _` |
| | | | | | | | | (_| | (_| |
|_| |_|_| |_| |_|\__,_|\__,_|