Public | Automated Build

Last pushed: 17 days ago
Short Description
Apache 2.4
Full Description

Apache2 docker image

Base image for apache2 with ssl module and snakeoil certificates. These however are created at build and should be recreated or replaced. If you want free, easy and secure apache2 with ssl, check out our docker image enoniccloud/apache2-letsencrypt


  • Provides /server-status page on port 8001 for easy monitoring.


The following tags are available:

u14.04 ( enoniccloud/apache2:u14.04 )

Base apache2 image build on ubuntu 14.04

u16.04 ( enoniccloud/apache2:u16.04 )

Base apache2 image build on ubuntu 16.04

u16.04-ondrej ( enoniccloud/apache2:u16.04-ondrej )

Base apache2 image build on ubuntu 16.04 but added Ondřej Surý apache repository to add a newer version of apache to support http/2



To enable http/2 support you have to use the enoniccloud/apache2:u16.04-ondrej image. This is because ubuntu as of now ( inc. ubuntu 17.10 ) do not ship with a apache2 that supports http/2.

Create a new Dockerfile for your project and base it on the enoniccloud/apache2:u16.04-ondrej image. Then enable the module. The file should look like this.

FROM enoniccloud/apache2:u16.04-ondrej

RUN a2enmod http2

This will enable the http/2 module for apache2.

Now enable the http/2 protocol for either a vhost, or globally dependent to if you specifie the protocols ( Protocols h2 http/1.1 ) inside a vhost or outside..

Protocols http/1.1
<VirtualHost ...>
    Protocols h2 http/1.1

If you wan't to read mote on http/2, see:

Docker Pull Command
Source Repository