Backdocker.io/nginxinc/nginx-unprivileged
docker.io
docker.io/nginxinc/nginx-unprivileged:1.29-alpine
Unprivileged NGINX Dockerfiles
Size
18.41 MB
Local pulls
6
Upstream pulls
1,254,066,597
Synced at
2026-08-04 14:10:55
China image
registry.cn-global.starbucket.com.cn/starbucket/docker.io/nginxinc/nginx-unprivileged:1.29-alpine
Source image
docker.io/nginxinc/nginx-unprivileged:1.29-alpine
Image info
- Image ID
- sha256:dd15c0e7714fb367145552309873f4e509337338a02cf00206d453fa06f22396
- Image tag
- 1.29-alpine
- Image size
- 18.41 MB
- Platform
- linux/arm/v7
- Registry
- docker.io
- Project
- Hub pageAll tagsLocal repo
- CMD
- nginx -g daemon off;
- Entrypoint
- /docker-entrypoint.sh
- Working dir
- /
- User
- 101
- StopSignal
- SIGQUIT
- Created
- 2026-05-11T04:19:47.068208467Z
Exposed ports 1
- 8080/tcp
Environment 6
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| NGINX_VERSION | 1.29.8 |
| PKG_RELEASE | 1 |
| DYNPKG_RELEASE | 1 |
| NJS_VERSION | 0.9.6 |
| NJS_RELEASE | 1 |
Labels 9
| maintainer | NGINX Docker Maintainers <docker-maint@nginx.com> |
| org.opencontainers.image.url | https://github.com/nginx/docker-nginx-unprivileged |
| org.opencontainers.image.title | docker-nginx-unprivileged |
| org.opencontainers.image.source | https://github.com/nginx/docker-nginx-unprivileged |
| org.opencontainers.image.created | 2026-05-11T02:30:43.384Z |
| org.opencontainers.image.version | 1.29.8-alpine |
| org.opencontainers.image.licenses | Apache-2.0 |
| org.opencontainers.image.revision | c4edb2fc1a693a7bdae4ab2bbc1c7fe63622290f |
| org.opencontainers.image.description | Unprivileged NGINX Dockerfiles |
Pull commands
Docker
docker pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/nginxinc/nginx-unprivileged:1.29-alpine
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/nginxinc/nginx-unprivileged:1.29-alpine docker.io/nginxinc/nginx-unprivileged:1.29-alpine
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/nginxinc/nginx-unprivileged:1.29-alpine
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/nginxinc/nginx-unprivileged:1.29-alpine docker.io/nginxinc/nginx-unprivileged:1.29-alpine
YAML quick replace
sed -i 's#docker.io/nginxinc/nginx-unprivileged:1.29-alpine#registry.cn-global.starbucket.com.cn/starbucket/docker.io/nginxinc/nginx-unprivileged:1.29-alpine#' deployment.yaml
Global registry mirror
Docker
Write Docker daemon.json so registry-mirrors points to this site, then restart Docker
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<'EOF'
{
"registry-mirrors": ["https://registry.cn-global.starbucket.com.cn"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart dockerContainerd
Write containerd certs.d hosts.toml so docker.io pulls via this site, then restart containerd
sudo mkdir -p /etc/containerd/certs.d/docker.io sudo tee /etc/containerd/certs.d/docker.io/hosts.toml <<'EOF' server = "https://docker.io" [host."https://registry.cn-global.starbucket.com.cn"] capabilities = ["pull", "resolve"] EOF sudo mkdir -p /etc/containerd if [ ! -f /etc/containerd/config.toml ]; then sudo containerd config default | sudo tee /etc/containerd/config.toml >/dev/null fi sudo sed -i 's#config_path = ""#config_path = "/etc/containerd/certs.d"#' /etc/containerd/config.toml sudo systemctl restart containerd
Build history 27
2026-05-11 04:19:47empty layer
USER 101
2026-05-11 04:19:47
RUN |2 UID=101 GID=101 /bin/sh -c set -x && apkArch="$(cat /etc/apk/arch)" && nginxPackages=" nginx=${NGINX_VERSION}-r${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-r${DYNPKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-r${DYNPKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-r${DYNPKG_RELEASE} nginx-module-njs=${NGINX_VERSION}.${NJS_VERSION}-r${NJS_RELEASE} " && apk add --no-cache --virtual .checksum-deps openssl && case "$apkArch" in x86_64|aarch64) apk add -X "https://nginx.org/packages/mainline/alpine/v$(egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main" --no-cache $nginxPackages ;; *) set -x && tempDir="$(mktemp -d)" && chown nobody:nobody $tempDir && apk add --no-cache --virtual .build-deps gcc libc-dev make openssl-dev pcre2-dev zlib-dev linux-headers libxslt-dev gd-dev geoip-dev libedit-dev bash alpine-sdk findutils curl && su nobody -s /bin/sh -c " export HOME=${tempDir} && cd ${tempDir} && curl -f -L -O https://github.com/nginx/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz && PKGOSSCHECKSUM=\"7074c3ba1ece708140afd0220b16df77651fbb56cc012e901bc1c4a80531872b7a58ad97a28357646575ce625e94a0540796c045f95d33e40e6d3874ce7b3d79 *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\" && if [ \"\$(openssl sha512 -r ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then echo \"pkg-oss tarball checksum verification succeeded!\"; else echo \"pkg-oss tarball checksum verification failed!\"; exit 1; fi && tar xzvf ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz && cd pkg-oss-${NGINX_VERSION}-${PKG_RELEASE} && cd alpine && make module-geoip module-image-filter module-njs module-xslt && apk index --allow-untrusted -o ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz ${tempDir}/packages/alpine/${apkArch}/*.apk && abuild-sign -k ${tempDir}/.abuild/abuild-key.rsa ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz " && cp ${tempDir}/.abuild/abuild-key.rsa.pub /etc/apk/keys/ && apk del --no-network .build-deps && apk add -X ${tempDir}/packages/alpine/ --no-cache $nginxPackages ;; esac && apk del --no-network .checksum-deps && if [ -n "$tempDir" ]; then rm -rf "$tempDir"; fi && if [ -f "/etc/apk/keys/abuild-key.rsa.pub" ]; then rm -f /etc/apk/keys/abuild-key.rsa.pub; fi && apk add --no-cache curl ca-certificates # buildkit2026-05-11 04:19:47empty layer
USER root
2026-05-11 04:19:47empty layer
ARG GID=101
2026-05-11 04:19:47empty layer
ARG UID=101
2026-05-11 04:19:47empty layer
ENV NJS_RELEASE=1
2026-05-11 04:19:47empty layer
ENV NJS_VERSION=0.9.6
2026-05-11 02:26:09empty layer
CMD ["nginx" "-g" "daemon off;"]