https://github.com/konstruktoid/container-nginx-build
Nginx Docker image
https://github.com/konstruktoid/container-nginx-build
Last synced: 5 months ago
JSON representation
Nginx Docker image
- Host: GitHub
- URL: https://github.com/konstruktoid/container-nginx-build
- Owner: konstruktoid
- Created: 2016-07-12T21:48:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-04-24T21:40:29.000Z (6 months ago)
- Last Synced: 2025-05-07T21:47:06.201Z (5 months ago)
- Language: Dockerfile
- Size: 2.22 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nginx
```sh
"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:
## Build and run instuctions
```sh
$ 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 konstruktoid/nginx
c7cd68ec16bf3b480591f441dedf6612d2fbd69f216d432a01208bfa9dacc103
$ docker inspect --format='{{.Config.Healthcheck}}' konstruktoid/nginx
{[CMD-SHELL curl -f 127.0.0.1 || exit 1] 5m0s 3s 0s 0}
```There's also a concept version with a static NGINX server running on a limited
Busybox in the
[busybox branch](https://github.com/konstruktoid/container-nginx-build/tree/busybox).