Public Repository

Last pushed: a year ago
Short Description
Apache2.2 + PHP5.5 with sendmail installed
Full Description

Here's the sample bash script:

container=$(sudo docker run -d -p 8055:80 -v /var/www:/var/www -v /etc/apache2/sites-available:/etc/apache2/sites-available -v /etc/apache2/sites-enabled:/etc/apache2/sites-enabled codeyourdream/apache-sendmail-php55)
sudo docker exec -it $container /

After running this script you'll be able to access the websites at your localhost by adding :8055 to the URL.
Note that if your websites use MySQL you need to configure MySQL accordingly (allow connections from docker network, use docker0 IP instead of "localhost" in your database configuration).

Docker Pull Command