Dockerfiles for hub.docker.com
Yes my mistake. This is not a LAMP, just a php+apache2+mysqlClientForPHP ;-).
MySQL is missing
Why do you call it LAMP if there's no MYSQL, considering that LAMP is an acronym for Linux Apache Mysql PHP ?
Can you please also include this line below:
RUN echo "<?php phpinfo();" > /var/www/html/index.php
there is no mysql
this is a bundle of apache2+php, without mysql server.
Where is mysql ?
Image fetched by default seems to not recognise 'php' command:
$ docker run -it reinblau/lamp /bin/bash root@12f7e9744613:/# php -i bash: php: command not found
5.6 version seems to work though
$ docker run -it reinblau/lamp:5.6 /bin/bash root@4303e0f91b8e:/var/www/html# php -i phpinfo() PHP Version => 5.6.14 ...