Ultra light apache2 + php docker image based on Alpine
1.2K
How to run this image :
docker run -d mdns/apache2-php
The folder served by Apache is "/www", you should add volume to expose your content :
docker run -d -v <yourpath>:/www mdns/apache2-php
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
Content type
Image
Digest
Size
6.6 MB
Last updated
over 10 years ago
docker pull mdns/apache2-php