Sign inSign up

mdns/apache2-php

By mdns

Updated over 10 years ago

Ultra light apache2 + php docker image based on Alpine

Image
1

1.2K

mdns/apache2-php repository overview

How to run

How to run this image :

docker run -d mdns/apache2-php

Volumes

The folder served by Apache is "/www", you should add volume to expose your content :

docker run -d -v <yourpath>:/www mdns/apache2-php

Port

Apache is configured to serve on port 80, you can override it with standard port option :

docker run -d -p 80:80 mdns/apache2-php

You can also let docker expose port 80 on a random port on your host:

docker run -d -P mdns/apache2-php

Tag summary

Content type

Image

Digest

Size

6.6 MB

Last updated

over 10 years ago

docker pull mdns/apache2-php