Public | Automated Build

Last pushed: 2 years ago
Short Description
CentOS with Apache and PHP
Full Description

Docker Container for running apache on CentOS 6

The docker container is based on CentOS 6.
Apache v2.2.15 has been installed to support php v5.6

More details are available on Docker Hub Registry.

Docker Installation

Install Docker on your favourite distro and run the container

Run Container

Run the below commands to run the container

docker pull vikas027/centos-apache-php


docker run --name <any_name> -e 'TIMEZONE=Canada/Central' -e 'ROOT_PASS=secret' -d -p <host_http_port>:80 -p <host_ssh_port>:22 -v <path_of_website_files>:/var/www/html vikas027/centos-apache-php
Docker Pull Command
Source Repository