Provides base OS, patches and stable nginx for quick and easy spinup.
https://hub.docker.com/r/behance/docker-nginx/tags/
OS | Version | Nginx Package | Tag |
---|---|---|---|
ubuntu | 20.04 | nginx-light | None |
ubuntu | 22.04 | nginx | `-ubuntu-22.04 |
The following builds are DEPRECATED and will be removed in a future release
- Alpine builds available tagged as
-alpine
DEPRECATED - Centos builds available tagged as
-centos
DEPRECATED
Module | ubuntu-20.04 | ubuntu-22.04 |
---|---|---|
brotli | ✓ | n/a |
njs | n/a | n/a |
S6 process supervisor is used
for only
for zombie reaping (as PID 1), boot coordination, and termination
signal translation
Goss is used for build-time testing.
See parent(s) docker-base for additional configuration
NOTE: Nginx is exposed and bound to an unprivileged port, 8080
-
Applications must copy their html/app into the
/var/www/html
folder -
Any new script/file that needs to be added must be given proper permissions / ownership to the non root user through
container/root/scripts/set_permissions.sh
. This is to ensure that the image can be run under a non root user.
See Quick Start