Public Repository

Last pushed: 9 months ago
Short Description
ready to use container with apache2 and php5 (on ubuntu 14.04.5)
Full Description

Note: PDO_MYSQL is already installed with this image.
Note: MOD REWRITE for apache is installed with this image.

A suggested way of running this is with the command below:

docker run -it --name APP_NAME -p 80:80 -v /path/to/files/on/host/:/var/www/html -v /path/to/project/vhosts/file/on/host/:/etc/apache2/sites-available/ --link mariadb:mariadb -d simonmallet/apache-php5-tpl:1.0 /bin/bash

View simonmallet/mariadb:1.0 to get the mariadb image.

-p 80:80 is for port mapping between host and container
-v is to map folders from host to container
--link will tell your container to link itself to the mariadb container.
-d means the RUN command will detach itself from the container after it has been executed
simonmallet/apache-php7-tpl:1.0 /bin/bash => which image to install + execute BASH at run time.

Docker Pull Command
Owner
simonmallet