The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.
Learn more about Apache: https://httpd.apache.org/
This Docker container makes it easy to get an instance of Apache up and running.
Based on Official Ubuntu Docker Image with some minor hack:
- Packaging by Packer Docker builder and Ansible provisioner in single layer
- Handle
ENTRYPOINT
with catatonit - Change
User
andGroup
towww-data
- Change
DocumentRoot
to/var/www/html
- Additional Apache modules:
- actions
- deflate
- expires
- logio
- mime_magic
- negotiation
- proxy
- proxy_fcgi
- proxy_http
- remoteip
- rewrite
For the VOLUME
directory that is used to store the repository data
(amongst other things) we recommend mounting a host directory as a data
volume,
or via a named volume if using a docker version >= 1.9.
Start Apache:
# Pull latest image
docker pull alvistack/httpd-2.4
# Run as detach
docker run \
-itd \
--name httpd \
--publish 80:80 \
--volume /var/www/html:/var/www/html \
alvistack/httpd-2.4
Success. Apache is now available on port http://localhost.
Release tags could be find from GitHub Release of this repository. Thus using these tags will ensure you are running the most up to date stable version of this image.
Version tags ended with .0.0
are rolling release rebuild by GitLab
pipeline in
weekly basis. Thus using these tags will ensure you are running the
latest packages provided by the base image project.
- Code released under Apache License 2.0
- Docs released under CC BY 4.0
- Wong Hoi Sing Edison