广告图片

docker.io/rancher/mirrored-library-nginx:1.29.1-alpine linux/amd64

docker.io/rancher/mirrored-library-nginx:1.29.1-alpine - 国内下载镜像源 浏览次数:12 安全受验证的发布者-Rancher
🐳 根据 Docker Hub 的信息,这个镜像的描述是:

NGINX is a free, open-source web server that can be used as a reverse proxy, load balancer, or HTTP cache. It can also act as a gateway, and it has been widely adopted by many popular websites.

(Note: I've translated the description into Chinese for you.)
源镜像 docker.io/rancher/mirrored-library-nginx:1.29.1-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx:1.29.1-alpine
镜像ID sha256:4a86014ec6994761b7f3118cf47e4b4fd6bac15fc6fa262c4f356386bbc0e9d9
镜像TAG 1.29.1-alpine
大小 52.54MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录 /
OS/平台 linux/amd64
浏览量 12 次
贡献者
镜像创建 2025-08-13T16:34:01Z
同步时间 2026-04-10 11:03
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.29.1 PKG_RELEASE=1 DYNPKG_RELEASE=1 NJS_VERSION=0.9.1 NJS_RELEASE=1
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx:1.29.1-alpine
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx:1.29.1-alpine  docker.io/rancher/mirrored-library-nginx:1.29.1-alpine

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-08-14 00:34:01  40.09MB 执行命令并创建新的镜像层
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/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=\"43ecd667d9039c9ab0fab9068c16b37825b15f7d4ef6ea8f36a41378bdf1a198463c751f8b76cfe2aef7ffa8dd9f88f180b958a8189d770258b5a97dc302daf4 *${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-08-14 00:34:01  0.00B 设置环境变量 NJS_RELEASE
ENV NJS_RELEASE=1
                        
# 2025-08-14 00:34:01  0.00B 设置环境变量 NJS_VERSION
ENV NJS_VERSION=0.9.1
                        
# 2025-08-14 00:34:01  0.00B 设置默认要执行的命令
CMD ["nginx" "-g" "daemon off;"]
                        
# 2025-08-14 00:34:01  0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGQUIT
                        
# 2025-08-14 00:34:01  0.00B 声明容器运行时监听的端口
EXPOSE map[80/tcp:{}]
                        
# 2025-08-14 00:34:01  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/docker-entrypoint.sh"]
                        
# 2025-08-14 00:34:01  4.62KB 复制新文件或目录到容器中
COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
                        
# 2025-08-14 00:34:01  3.02KB 复制新文件或目录到容器中
COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
                        
# 2025-08-14 00:34:01  389.00B 复制新文件或目录到容器中
COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
                        
# 2025-08-14 00:34:01  2.12KB 复制新文件或目录到容器中
COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
                        
# 2025-08-14 00:34:01  1.62KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh / # buildkit
                        
# 2025-08-14 00:34:01  4.13MB 执行命令并创建新的镜像层
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/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                 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=\"43ecd667d9039c9ab0fab9068c16b37825b15f7d4ef6ea8f36a41378bdf1a198463c751f8b76cfe2aef7ffa8dd9f88f180b958a8189d770258b5a97dc302daf4 *${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-08-14 00:34:01  0.00B 设置环境变量 DYNPKG_RELEASE
ENV DYNPKG_RELEASE=1
                        
# 2025-08-14 00:34:01  0.00B 设置环境变量 PKG_RELEASE
ENV PKG_RELEASE=1
                        
# 2025-08-14 00:34:01  0.00B 设置环境变量 NGINX_VERSION
ENV NGINX_VERSION=1.29.1
                        
# 2025-08-14 00:34:01  0.00B 添加元数据标签
LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
                        
# 2025-07-15 19:01:16  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2025-07-15 19:01:16  8.31MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.22.1-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:4a86014ec6994761b7f3118cf47e4b4fd6bac15fc6fa262c4f356386bbc0e9d9",
    "RepoTags": [
        "rancher/mirrored-library-nginx:1.29.1-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx:1.29.1-alpine"
    ],
    "RepoDigests": [
        "rancher/mirrored-library-nginx@sha256:42a516af16b852e33b7682d5ef8acbd5d13fe08fecadc7ed98605ba5e3b26ab8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx@sha256:962b9f0f25878989f67315097e92fe253538a85ae6cbfb4135097e7be727642a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-08-13T16:34:01Z",
    "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.29.1",
            "PKG_RELEASE=1",
            "DYNPKG_RELEASE=1",
            "NJS_VERSION=0.9.1",
            "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": "amd64",
    "Os": "linux",
    "Size": 52544352,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/99004d1a1e086a5a5cbc8ac59852998f57f539472ceadfeea72401546987159c/diff:/var/lib/docker/overlay2/290fc88bbf50ba33951d4c6926695a9d3b8630e3533cd941b136899198304aaa/diff:/var/lib/docker/overlay2/e68788130254a1547f5cde5d84b3082f7f33b283d983fbc03b712ba6fe979a75/diff:/var/lib/docker/overlay2/9342c684e6bf5d65cb77b6beb8d2698d99a713a63e2fe34b4771f104eb7ccd19/diff:/var/lib/docker/overlay2/e54505d9a7565f1a205a3e96eb8c840f703cc89c68d952f8fa9ecd4d55bc5198/diff:/var/lib/docker/overlay2/1e24f57030c43b00c31bf8ce795d28256be78d352076a212581f2f9e83cabf9e/diff:/var/lib/docker/overlay2/f46cf5e727ceb441855f323257fa6ad328f5fc2553e480378cda468664298b75/diff",
            "MergedDir": "/var/lib/docker/overlay2/1bbf46690ef3cd38f7699d6c125217c8cd209adef751da81098e301ceba1276d/merged",
            "UpperDir": "/var/lib/docker/overlay2/1bbf46690ef3cd38f7699d6c125217c8cd209adef751da81098e301ceba1276d/diff",
            "WorkDir": "/var/lib/docker/overlay2/1bbf46690ef3cd38f7699d6c125217c8cd209adef751da81098e301ceba1276d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:418dccb7d85a63a6aa574439840f7a6fa6fd2321b3e2394568a317735e867d35",
            "sha256:b6ff0212304efd5de6311b4e727f4bd05fc63af88535439035f997cebdc5d009",
            "sha256:7978a9c91f722f830483a8564f1f45ea2de69467ae9eb202744651a7cded90d7",
            "sha256:16ca725632e5c0cb9010a6a0a703017a42ba36997de90b62d9aa9f152b6f3db5",
            "sha256:917b2c97271ec45eedfc9bc6aa3f52cf3e88550e5de87b4273736472db4247b1",
            "sha256:a2b76470e8f1cd1ec142fd58ab96656d719d62944029299b14ab6a418df84fa0",
            "sha256:d208138be39ddf6e3327493a5b1298a4e577faef5c09c2b91d82e2ca42698a84",
            "sha256:f9985d3fc94dfae94021c560b6c8878e21f19f39a4c1f58051a535d2f0c2b165"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-04-10T11:03:51.161528355+08:00"
    }
}

更多版本

docker.io/rancher/mirrored-library-nginx:1.24.0-alpine

linux/amd64 docker.io41.10MB2024-06-27 13:33
945

docker.io/rancher/mirrored-library-nginx:1.27.2-alpine

linux/arm64 docker.io56.80MB2025-08-12 16:50
290

docker.io/rancher/mirrored-library-nginx:1.27.2-alpine

linux/amd64 docker.io52.50MB2025-11-25 15:44
243

docker.io/rancher/mirrored-library-nginx:1.29.1-alpine

linux/amd64 docker.io52.54MB2026-04-10 11:03
11