

The world's smallest and most secure NGINX Docker image
source link: https://www.tuicool.com/articles/hit/NbmIZvF
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

nginx (Docker image)
Built-from-source container image of the NGINX HTTP server
Available at ricardbejarano/nginx
.
Tags
1.15.9-glibc
, 1.15.9
, glibc
, latest
(glibc/Dockerfile)
1.15.9-musl
, musl
(musl/Dockerfile)
Features
- Super tiny (
glibc
-based is~13MB
andmusl
-based is~12.3MB
) - Built from source, including libraries
- Built from
scratch
, see thesection below for an exhaustive list of the image's contents - Included TLS1.3 protocol support (with OpenSSL )
- Reduced attack surface (no
bash
, no UNIX tools, no package manager...)
Filesystem
The images' contents are:
glibc
Based on the glibc implementation of libc
.
/ ├── etc/ │ ├── group/ │ ├── nginx/ │ │ ├── html/ │ │ │ ├── 50x.html │ │ │ └── index.html │ │ ├── mime.types │ │ └── nginx.conf │ └── passwd ├── lib/ │ └── x86_64-linux-gnu/ │ ├── libc.so.6 │ ├── libcrypt.so.1 │ ├── libdl.so.2 │ ├── libnss_dns.so.2 │ ├── libnss_files.so.2 │ ├── libpthread.so.0 │ └── libresolv.so.2 ├── lib64/ │ └── ld-linux-x86-64.so.2 ├── nginx └── tmp/ └── .keep
musl
Based on the musl implementation of libc
.
/ ├── etc/ │ ├── group │ ├── nginx/ │ │ ├── html/ │ │ │ ├── 50x.html │ │ │ └── index.html │ │ ├── mime.types │ │ └── nginx.conf │ └── passwd ├── lib/ │ ├── ld-musl-x86_64.so.1 │ └── libssl.so.1.1 ├── nginx └── tmp/ └── .keep
License
See LICENSE .
Recommend
-
34
Scratch Node.js Docker Images Smallest Node.js Docker images (<15MB). Content A fully statically linked and compressed Node.js binary An /etc/passwd e...
-
9
``` docker pull nginx ``` # Quick reference - **Maintained by**: [the NGINX Docker Maintainers](https://github.com/nginxinc/docker-nginx) - **Where to get help**: [the Docker Community Forums](https://forums.docker.com/), [the Docker...
-
8
ScoutPro, one of the smallest and most powerful chargers — and half off right now
-
6
News From Smallest to Quantum: Rounding Up Image Sensor 2021 World “Firsts” 2 days ago by Adrian Gibbons It’s a busy quarter-year for im...
-
10
-
16
Smallest Golang Docker Image20 March 2022We are going to be building 3 docker images in search of the smallest Golang docker image. A while back I reduced the size of a Golang docker container to speed up deploys. The original...
-
12
↞ Back The smallest Docker image to serve static websites Until recently, I used to think that serving static websites from Docker would be a waste of bandwith an...
-
6
Building a Docker Image for Deploying NGINX Management Suite Without Helm
-
6
Resources > Blog > Tech Building a Docker Image of NGINX...
-
6
Check if most frequent element in Linked list is divisible by smallest elementGiven a Linked list, the task is to check if the most frequently occurring element in the linked list is divisible by the...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK