Sign inSign up

punkrock/apache-php

By punkrock

•Updated over 1 year ago

Based on Ubuntu Server 22.04 LTS contains Apache 2.4.52 and PHP 8.1.2

Image
0

3.4K

punkrock/apache-php repository overview

https://hub.docker.com/r/punkrock/apache-php/ https://hub.docker.com/r/punkrock/apache-php/ https://hub.docker.com/r/punkrock/apache-php/ https://hub.docker.com/r/punkrock/apache-php/

⁠Using this image

⁠Running the container

Start 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:

Tag summary

Content type

Image

Digest

sha256:6fc0fed2d…

Size

86.9 MB

Last updated

over 1 year ago

docker pull punkrock/apache-php