Apache httpd running on Alpine linux.
Default docroot is set to /usr/local/apache2/htdocs
.
To start container, expose the port (default is 80
) in the run command and go nuts:
docker run -p 80:80 jitesoft/httpd
The www-data user have the same id as the www-data user in the most common alpine images, 82.
Before 2021 07 23, the id was 1000, which created issues with read/write permissions
when used with the jitesoft/php image.
Containers created runs as root (easily changed in production with the appropriate flags), while the nginx process runs as the www-data user (82) by default.
The stopsignal is set to SIGWINCH to enable graceful shutdown, this will make a
ctrl+c
exit of an attached container not exit but stay running. If you encounter this
issue, a standard docker stop <containername>
will stop the container for you.
Image is built for x86_64 and aarch64, tags are based on Apache httpd version
where latest
is the latest version as of build time.
Images can be found at:
- Docker Hub:
jitesoft/httpd
- GitLab:
registry.gitlab.com/jitesoft/dockerfiles/httpd
- GitHub
ghcr.io/jitesoft/httpd
Docker files can be found at GitLab or GitHub
Files in this repository are released under the MIT license.
Httpd is released under the Apache License 2.0 license.
This image follows the Jitesoft image label specification 1.0.0.
Jitesoft images are built via GitLab CI on runners hosted by the following wonderful organisations:
The companies above are not affiliated with Jitesoft or any Jitesoft Projects directly.
Sponsoring is vital for the further development and maintaining of open source.
Questions and sponsoring queries can be made by email.
If you wish to sponsor our projects, reach out to the email above or visit any of the following sites: