Sign inSign up

j796160836/apache-php

By j796160836

•Updated over 8 years ago

apache-php for apline image

Image
0

960

j796160836/apache-php repository overview

⁠Apache PHP

This is an Alpine based image with apache 2.4 and php7.

The following volumes are recommended

  • /var/www - For your site content
  • /var/log/apache2 - For logs
  • /etc/apache2/conf.d/custom - For custom apache config files

⁠Simple Examples

Run with default index of phpinfo

docker run --detach --publish 80:80 --publish 443:443 craigmcmahon/apache-php

Run with custom code

docker run --detach --volume `pwd`:/var/www --publish 80:80 --publish 443:443 craigmcmahon/apache-php

Tag summary

Content type

Image

Digest

Size

27.4 MB

Last updated

over 8 years ago

docker pull j796160836/apache-php