"nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server,
and a generic TCP/UDP proxy server, originally written by Igor Sysoev."
Website: http://nginx.org/
$ docker build --no-cache -t konstruktoid/nginx:latest -f Dockerfile .
$ docker run --cap-drop=all --cap-add={chown,dac_override,net_bind_service,setgid,setuid} --name nginx -d -p 80:80 konstruktoid/nginx
c7cd68ec16bf3b480591f441dedf6612d2fbd69f216d432a01208bfa9dacc103
$ docker ps --quiet | xargs docker inspect --format '{{ .Id }}: Health={{ .State.Health.Status }}'
c7cd68ec16bf3b480591f441dedf6612d2fbd69f216d432a01208bfa9dacc103: Health=healthy
$ docker inspect --format='{{.Config.Healthcheck}}' konstruktoid/nginx
{[CMD-SHELL curl -f http://127.0.0.1/ || exit 1] 5m0s 3s 0}
There's also a concept version with a static NGINX server running on a limited Busybox in the busybox branch.
0.73M busybox:1.33.1
0.73M busybox:1.33.1-uclibc
0.8M busybox:1.33.1-musl
1.84M konstruktoid/nginx:busybox
2.71M busybox:1.33.1-glibc
6.85M konstruktoid/nginx:latest
9.38M nginx:1.20.1-alpine
17.85M nginx:1.20.1-alpine-perl
51.24M nginx:1.20.1
61.69M nginx:1.20.1-perl
Content type
Image
Digest
sha256:497b03fd3…
Size
9.4 MB
Last updated
1 day ago
docker pull konstruktoid/nginx