Public Repository

Last pushed: 2 years ago
Short Description
Docker image with apache2
Full Description

Docker image with base OS Ubuntu14.04

installed apache2

##default env has been set as follows:
a2enmod rewrite
chown -R www-data:www-data /var/www
export APACHE_RUN_USER=www-data
APACHE_RUN_GROUP=www-data
APACHE_LOG_DIR=/var/log/apache2

##run the container with:
docker run --name server1 -d -p 80:80 ubuntu/apache:1.0 /usr/sbin/apache2ctl -D FOREGROUND

##open the underlying VM's IP onport 80 on your browser to ensure apache2 is running.

Docker Pull Command
Owner
ignatiusyeow

Comments (0)