Backdocker.io/nginxinc/nginx-unprivileged
docker.io
docker.io/nginxinc/nginx-unprivileged:1.30-alpine
Unprivileged NGINX Dockerfiles
Size
21.98 MB
Local pulls
6
Upstream pulls
1,254,066,597
Synced at
2026-08-04 14:19:11
China image
registry.cn-global.starbucket.com.cn/starbucket/docker.io/nginxinc/nginx-unprivileged:1.30-alpine
Source image
docker.io/nginxinc/nginx-unprivileged:1.30-alpine
Image info
- Image ID
- sha256:bc69cfff69f75aef06daeda8dea70de95fa9ad97a03fe134cd4e5e6789d51124
- Image tag
- 1.30-alpine
- Image size
- 21.98 MB
- Platform
- linux/amd64
- 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-07-20T01:53:10.165472628Z
Exposed ports 1
- 8080/tcp
Environment 6
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| NGINX_VERSION | 1.30.4 |
| PKG_RELEASE | 1 |
| DYNPKG_RELEASE | 1 |
| NJS_VERSION | 1.0.0 |
| 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-07-20T01:52:58.996Z |
| org.opencontainers.image.version | 1.30.4-alpine |
| org.opencontainers.image.licenses | Apache-2.0 |
| org.opencontainers.image.revision | e26803b6ff7ca01455284231c59f20cb5e3ae82e |
| 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.30-alpine
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/nginxinc/nginx-unprivileged:1.30-alpine docker.io/nginxinc/nginx-unprivileged:1.30-alpine
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/nginxinc/nginx-unprivileged:1.30-alpine
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/nginxinc/nginx-unprivileged:1.30-alpine docker.io/nginxinc/nginx-unprivileged:1.30-alpine
YAML quick replace
sed -i 's#docker.io/nginxinc/nginx-unprivileged:1.30-alpine#registry.cn-global.starbucket.com.cn/starbucket/docker.io/nginxinc/nginx-unprivileged:1.30-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-07-20 01:53:10empty layer
USER 101
2026-07-20 01:53:10
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/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=\"884cbfae1bfc1f8025795c4232780c71086837022321a2c6eba3654b6507e87f9446c7e88a711fdb6f7360000e25bea4b75bdcac13b32db8acd7e0e9fe1dcd3d *${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-07-20 01:53:10empty layer
USER root
2026-07-20 01:53:10empty layer
ARG GID=101
2026-07-20 01:53:10empty layer
ARG UID=101
2026-07-20 01:53:10empty layer
ENV NJS_RELEASE=1
2026-07-20 01:53:10empty layer
ENV NJS_VERSION=1.0.0
2026-07-20 00:20:00empty layer
CMD ["nginx" "-g" "daemon off;"]