Docker image with Apache, PHP, and mod_rewrite enabled
704
Docker image with Apache, PHP, and mod_rewrite to make web development easier.
It's based on official PHP Docker image - https://hub.docker.com/_/php.
In your folder with PHP project (with index.php) run the following command to make your web accessible on http://localhost:8080.
docker run -it -p 8080:80 -v "$PWD":/var/www/html/ martinmajlis/apache-php-rewrite:latest
Content type
Image
Digest
Size
155.6 MB
Last updated
over 4 years ago
docker pull martinmajlis/apache-php-rewrite