Skip to content

kelvinwongg/docker-httpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image Packaging for Apache

Travis GitHub release GitHub license Docker Pulls

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/

Supported Tags and Respective Dockerfile Links

Overview

This Docker container makes it easy to get an instance of Apache up and running.

Based on Official Apache Docker Image with some minor hack:

  • Handle ENTRYPOINT with dumb-init
  • Change User and Group to www-data
  • Change DocumentRoot to /var/www/html
  • Additional Apache modules:
    • actions
    • cache
    • cache_disk
    • deflate
    • expires
    • logio
    • mime_magic
    • negotiation
    • proxy
    • proxy_fcgi
    • proxy_http
    • remoteip
    • rewrite

Quick Start

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

# Run as detach
docker run \
    -itd \
    --name httpd \
    --publish 80:80 \
    --volume /var/www/html:/var/www/html \
    alvistack/httpd

Success. Apache is now available on port http://localhost.

Versioning

The latest tag matches the most recent version of this repository. Thus using alvistack/httpd:latest or alvistack/httpd will ensure you are running the most up to date version of this image.

License

Author Information

About

Clone from alvistack/docker-httpd.git

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages