Sign inSign up

swapnillinux/apache-php

By swapnillinux

Updated over 7 years ago

Docker image based on CentOS 7 with apache2 and PHP with SSL

Image
1

10K+

swapnillinux/apache-php repository overview

README

Docker Image based on CentOS 7 with apache2, PHP5 and mod_ssl

Examples

Assuming you have web content at /mnt/www and want your site to available on 8080 & 443, the below docker run will be sufficient to serve it.

docker run -p 8080:80 -p 443:443 -v /mnt/www:/var/www/html --name=myweb -d swapnillinux/apache-php

and your site is available to browse on http://your_host_ip:8080 and https://your_host_ip

Enjoy :)

Tag summary

Content type

Image

Digest

Size

119.2 MB

Last updated

over 7 years ago

docker pull swapnillinux/apache-php