docker.io/library/nginx:stable-alpine linux/arm

docker.io/library/nginx:stable-alpine - 国内下载镜像源 浏览次数:17 安全受验证的发布者-Docker 温馨提示: 这是一个 linux/arm 系统架构镜像
NGINX 是一款流行的开源 web 服务器软件。 Docker 镜像 library/nginx 基于 Ubuntu 发行版,提供了 NGINX 的最新版本。该镜像可以用来部署 web 应用程序、反向代理和负载均衡等。
源镜像 docker.io/library/nginx:stable-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:stable-alpine-linuxarm
镜像ID sha256:0a80dcb3a5363338552b02b7c58d73e6f8285e3692c4b4ef6119b7dd360b30d3
镜像TAG stable-alpine-linuxarm
大小 33.86MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录 /
OS/平台 linux/arm
浏览量 17 次
贡献者
镜像创建 2025-04-23T18:00:49Z
同步时间 2025-08-30 13:43
更新时间 2025-08-31 05:05
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.28.0 PKG_RELEASE=1 DYNPKG_RELEASE=1 NJS_VERSION=0.8.10 NJS_RELEASE=1
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:stable-alpine-linuxarm
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:stable-alpine-linuxarm  docker.io/library/nginx:stable-alpine

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:stable-alpine-linuxarm
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:stable-alpine-linuxarm  docker.io/library/nginx:stable-alpine

Shell快速替换命令

sed -i 's#library/nginx:stable-alpine#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:stable-alpine-linuxarm#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:stable-alpine-linuxarm && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:stable-alpine-linuxarm  docker.io/library/nginx:stable-alpine'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:stable-alpine-linuxarm && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:stable-alpine-linuxarm  docker.io/library/nginx:stable-alpine'

镜像构建历史


# 2025-04-24 02:00:49  25.73MB 执行命令并创建新的镜像层
RUN /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=\"517bc18954ccf4efddd51986584ca1f37966833ad342a297e1fe58fd0faf14c5a4dabcb23519dca433878a2927a95d6bea05a6749ee2fa67a33bf24cdc41b1e4 *${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 # buildkit
                        
# 2025-04-24 02:00:49  0.00B 设置环境变量 NJS_RELEASE
ENV NJS_RELEASE=1
                        
# 2025-04-24 02:00:49  0.00B 设置环境变量 NJS_VERSION
ENV NJS_VERSION=0.8.10
                        
# 2025-04-24 02:00:49  0.00B 设置默认要执行的命令
CMD ["nginx" "-g" "daemon off;"]
                        
# 2025-04-24 02:00:49  0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGQUIT
                        
# 2025-04-24 02:00:49  0.00B 声明容器运行时监听的端口
EXPOSE map[80/tcp:{}]
                        
# 2025-04-24 02:00:49  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/docker-entrypoint.sh"]
                        
# 2025-04-24 02:00:49  4.62KB 复制新文件或目录到容器中
COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
                        
# 2025-04-24 02:00:49  3.02KB 复制新文件或目录到容器中
COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
                        
# 2025-04-24 02:00:49  389.00B 复制新文件或目录到容器中
COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
                        
# 2025-04-24 02:00:49  2.12KB 复制新文件或目录到容器中
COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
                        
# 2025-04-24 02:00:49  1.62KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh / # buildkit
                        
# 2025-04-24 02:00:49  3.03MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -x     && addgroup -g 101 -S nginx     && adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx     && apkArch="$(cat /etc/apk/arch)"     && nginxPackages="         nginx=${NGINX_VERSION}-r${PKG_RELEASE}     "     && apk add --no-cache --virtual .checksum-deps         openssl     && case "$apkArch" in         x86_64|aarch64)             set -x             && KEY_SHA512="e09fa32f0a0eab2b879ccbbc4d0e4fb9751486eedda75e35fac65802cc9faa266425edf83e261137a2f4d16281ce2c1a5f4502930fe75154723da014214f0655"             && wget -O /tmp/nginx_signing.rsa.pub https://nginx.org/keys/nginx_signing.rsa.pub             && if echo "$KEY_SHA512 */tmp/nginx_signing.rsa.pub" | sha512sum -c -; then                 echo "key verification succeeded!";                 mv /tmp/nginx_signing.rsa.pub /etc/apk/keys/;             else                 echo "key verification failed!";                 exit 1;             fi             && 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                 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=\"517bc18954ccf4efddd51986584ca1f37966833ad342a297e1fe58fd0faf14c5a4dabcb23519dca433878a2927a95d6bea05a6749ee2fa67a33bf24cdc41b1e4 *${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 base                 && 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 gettext-envsubst     && apk add --no-cache tzdata     && ln -sf /dev/stdout /var/log/nginx/access.log     && ln -sf /dev/stderr /var/log/nginx/error.log     && mkdir /docker-entrypoint.d # buildkit
                        
# 2025-04-24 02:00:49  0.00B 设置环境变量 DYNPKG_RELEASE
ENV DYNPKG_RELEASE=1
                        
# 2025-04-24 02:00:49  0.00B 设置环境变量 PKG_RELEASE
ENV PKG_RELEASE=1
                        
# 2025-04-24 02:00:49  0.00B 设置环境变量 NGINX_VERSION
ENV NGINX_VERSION=1.28.0
                        
# 2025-04-24 02:00:49  0.00B 添加元数据标签
LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
                        
# 2025-04-24 02:00:49  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-04-24 02:00:49  5.10MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.21.4-armv7.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:0a80dcb3a5363338552b02b7c58d73e6f8285e3692c4b4ef6119b7dd360b30d3",
    "RepoTags": [
        "nginx:stable-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:stable-alpine-linuxarm"
    ],
    "RepoDigests": [
        "nginx@sha256:8f2bcf97c473dfe311e79a510ee540ee02e28ce1e6a64e1ef89bfad32574ef10",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx@sha256:f33565e2a69133c6f5f6a266339d70f493c39dcffee12afc70ae8780c6532f9c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-04-23T18:00:49Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "80/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NGINX_VERSION=1.28.0",
            "PKG_RELEASE=1",
            "DYNPKG_RELEASE=1",
            "NJS_VERSION=0.8.10",
            "NJS_RELEASE=1"
        ],
        "Cmd": [
            "nginx",
            "-g",
            "daemon off;"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e"
        },
        "StopSignal": "SIGQUIT"
    },
    "Architecture": "arm",
    "Variant": "v7",
    "Os": "linux",
    "Size": 33860476,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2d5e03d1148d3b33cffbeae96800a54d226149b5528185f10efa60dee4ae6eeb/diff:/var/lib/docker/overlay2/f4e498d6955a00abe1f0d16b39b534b8aa39075f180e257c299f5d987d370486/diff:/var/lib/docker/overlay2/3756e5d55d5014c8c78fa9c5802d8ae34f8c498d0b889caf8896fe71074ff1e9/diff:/var/lib/docker/overlay2/75527650180c6cc44c3da7e4111cf6e367ecba02125363309f44206d2b19fc46/diff:/var/lib/docker/overlay2/79ed8a613e49c701b6605548375a3c78398b2c71cfe9bec2fe09d877e726af5a/diff:/var/lib/docker/overlay2/83f8ffaa05fdab6a6da9bb598e42233205248e9025c232244c3ae13052f8fbf8/diff:/var/lib/docker/overlay2/630e08505dbc0d91168c647f2901a5b96bac251c2a60d416085caa72505fa353/diff",
            "MergedDir": "/var/lib/docker/overlay2/3f60aa95e5bbad49b93256e9b9090127baf272ff2074d9298960a711e5b93f12/merged",
            "UpperDir": "/var/lib/docker/overlay2/3f60aa95e5bbad49b93256e9b9090127baf272ff2074d9298960a711e5b93f12/diff",
            "WorkDir": "/var/lib/docker/overlay2/3f60aa95e5bbad49b93256e9b9090127baf272ff2074d9298960a711e5b93f12/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:5b5bc0daf23e7493699a100e3849e899126b0297e91a060e44ed875b3907c472",
            "sha256:9910c3845c5d38bdf7752b67a040b166d401d5bb3289bb24dfecfdb6215d99e5",
            "sha256:1d776004cc46179e1db1dbc8a96d8a4cd2839ba2d250adb4f144e8f5c0b18d0c",
            "sha256:c9643dcf71e7863669520af701d420abeacdb66dcc494cb2b1396845927adb51",
            "sha256:46f054246dff6e3dbba0e6d873ded19aee6a23349653ca2b88dca88317e31d45",
            "sha256:a353ee420393e50e2e7a9f12735d7b41c29461bda6e8d828ef01108a4a78ec29",
            "sha256:ae6442829c90c6078f8789b630af5380eeedd6dc4adb3cc6e607174553bf1477",
            "sha256:eaf3f9f51401f2a47cc2c23007003bd7c06d53509515015092ebd509d68734d5"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-08-30T13:43:31.248301513+08:00"
    }
}

更多版本

docker.io/library/nginx:alpine

linux/arm64 docker.io22.06MB2024-06-27 09:17
1173

docker.io/library/nginx:stable-perl

linux/arm64 docker.io243.02MB2024-06-27 10:46
581

docker.io/library/nginx:1.27

linux/amd64 docker.io187.67MB2024-06-27 13:45
1018

docker.io/library/nginx:1.23.2

linux/amd64 docker.io141.77MB2024-07-19 13:43
1047

docker.io/library/nginx:1.25.2-alpine

linux/amd64 docker.io42.60MB2024-08-12 08:35
524

docker.io/library/nginx:1.25

linux/amd64 docker.io187.66MB2024-09-02 16:40
426

docker.io/library/nginx:1.16.0-alpine

linux/amd64 docker.io20.42MB2024-09-06 13:54
494

docker.io/library/nginx:latest

linux/amd64 docker.io187.71MB2024-09-11 18:56
1329

docker.io/library/nginx:1.27.1-alpine

linux/amd64 docker.io43.24MB2024-09-13 16:46
477

docker.io/library/nginx:1.26.2-alpine

linux/amd64 docker.io43.24MB2024-09-14 10:18
437

docker.io/library/nginx:stable-alpine

linux/amd64 docker.io43.24MB2024-10-05 02:38
541

docker.io/library/nginx:1.17.6

linux/amd64 docker.io126.32MB2024-10-23 17:34
315

docker.io/library/nginx:1.25.3

linux/amd64 docker.io186.73MB2024-10-24 10:30
505

docker.io/library/nginx:1.26-alpine

linux/amd64 docker.io43.24MB2024-10-30 15:07
288

docker.io/library/nginx:1.26.1-alpine3.19-slim

linux/amd64 docker.io12.01MB2024-11-04 11:17
246

docker.io/library/nginx:1.27.2

linux/amd64 docker.io191.67MB2024-11-07 15:01
573

docker.io/library/nginx:1.18.0-alpine

linux/amd64 docker.io21.86MB2024-11-12 10:28
277

docker.io/library/nginx:1.25.5-perl

linux/amd64 docker.io235.67MB2024-11-17 12:38
212

docker.io/library/nginx:1.26.1

linux/amd64 docker.io187.60MB2024-12-05 17:18
213

docker.io/library/nginx:stable-alpine3.17-slim

linux/amd64 docker.io11.52MB2024-12-26 18:06
343

docker.io/library/nginx:alpine

linux/amd64 docker.io47.05MB2025-01-14 12:12
383

docker.io/library/nginx:1.19-alpine

linux/arm64 docker.io21.25MB2025-01-24 14:32
209

docker.io/library/nginx:stable-alpine

linux/arm64 docker.io51.06MB2025-02-12 01:57
288

docker.io/library/nginx:1.26.3

linux/amd64 docker.io191.91MB2025-02-21 15:22
491

docker.io/library/nginx:1.20.0

linux/amd64 docker.io133.11MB2025-04-01 23:12
399

docker.io/library/nginx:1.25.2-alpine

linux/arm64 docker.io43.49MB2025-05-12 20:04
175

docker.io/library/nginx:1.28.0-alpine3.21

linux/amd64 docker.io48.24MB2025-06-03 16:03
251

docker.io/library/nginx:1.23.3-alpine

linux/amd64 docker.io40.72MB2025-06-24 15:59
165

docker.io/library/nginx:1.19.1-alpine

linux/amd64 docker.io21.57MB2025-07-03 17:33
99

docker.io/library/nginx:1.29.0-alpine

linux/amd64 docker.io52.47MB2025-07-13 03:16
135

docker.io/library/nginx:1.29.0-alpine

linux/arm64 docker.io52.97MB2025-07-13 03:16
116

docker.io/library/nginx:stable-alpine3.21-slim

linux/amd64 docker.io11.90MB2025-07-14 14:29
110

docker.io/library/nginx:1.24

linux/amd64 docker.io142.31MB2025-07-30 17:54
81

docker.io/library/nginx:1.28.0-alpine3.21-slim

linux/amd64 docker.io11.89MB2025-08-13 09:43
87

docker.io/library/nginx:stable-alpine

linux/arm docker.io33.86MB2025-08-30 13:43
16