Based on Ubuntu Server 22.04 LTS contains Apache 2.4.52 and PHP 8.1.2
3.4K
Dockerfile linksStart the container :
docker run -d --name=apache-php -p 80:80 -v apache_data:/var/www/html punkrock/apache-php:latest
Or with Docker Compose with persistent data :
services:
apache-php:
container_name: apache-php
image: punkrock/apache-php:latest
restart: always
volumes:
- apache_config:/etc/apache2
- php_config:/etc/php/8.3/apache2
- apache_data:/var/www/html
ports:
- "80:80"
volumes:
apache_config:
php_config:
apache_data:
Content type
Image
Digest
sha256:6fc0fed2d…
Size
86.9 MB
Last updated
over 1 year ago
docker pull punkrock/apache-php