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

docker.io/rancher/mirrored-library-nginx:1.27.2-alpine - 国内下载镜像源 浏览次数:24 安全受验证的发布者-Rancher 温馨提示: 这是一个 linux/arm64 系统架构镜像
🐳 根据 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.27.2-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx:1.27.2-alpine-linuxarm64
镜像ID sha256:9720e579e3cd39c38af839e0ade6888eb308ae084fd76f66b2220149317d6580
镜像TAG 1.27.2-alpine-linuxarm64
大小 56.80MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录 /
OS/平台 linux/arm64
浏览量 24 次
贡献者
镜像创建 2024-10-02T17:55:35Z
同步时间 2025-08-12 16:50
更新时间 2025-08-18 22:37
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.27.2 PKG_RELEASE=1 DYNPKG_RELEASE=1 NJS_VERSION=0.8.6 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.27.2-alpine-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx:1.27.2-alpine-linuxarm64  docker.io/rancher/mirrored-library-nginx:1.27.2-alpine

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#rancher/mirrored-library-nginx:1.27.2-alpine#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx:1.27.2-alpine-linuxarm64#' 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.27.2-alpine-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx:1.27.2-alpine-linuxarm64  docker.io/rancher/mirrored-library-nginx:1.27.2-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.27.2-alpine-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx:1.27.2-alpine-linuxarm64  docker.io/rancher/mirrored-library-nginx:1.27.2-alpine'

镜像构建历史


# 2024-10-03 01:55:35  37.69MB 执行命令并创建新的镜像层
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=\"6982e2df739645fc72db5bdf994032f799718230e7016e811d9d482e5cf41814c888660ca9a68814d5e99ab571e892ada3bd43166e720cbf04c7f85b6934772c *${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
                        
# 2024-10-03 01:55:35  0.00B 设置环境变量 NJS_RELEASE
ENV NJS_RELEASE=1
                        
# 2024-10-03 01:55:35  0.00B 设置环境变量 NJS_VERSION
ENV NJS_VERSION=0.8.6
                        
# 2024-10-03 01:55:35  0.00B 设置默认要执行的命令
CMD ["nginx" "-g" "daemon off;"]
                        
# 2024-10-03 01:55:35  0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGQUIT
                        
# 2024-10-03 01:55:35  0.00B 声明容器运行时监听的端口
EXPOSE map[80/tcp:{}]
                        
# 2024-10-03 01:55:35  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/docker-entrypoint.sh"]
                        
# 2024-10-03 01:55:35  4.62KB 复制新文件或目录到容器中
COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
                        
# 2024-10-03 01:55:35  3.02KB 复制新文件或目录到容器中
COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
                        
# 2024-10-03 01:55:35  389.00B 复制新文件或目录到容器中
COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
                        
# 2024-10-03 01:55:35  2.12KB 复制新文件或目录到容器中
COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
                        
# 2024-10-03 01:55:35  1.62KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh / # buildkit
                        
# 2024-10-03 01:55:35  10.27MB 执行命令并创建新的镜像层
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=\"6982e2df739645fc72db5bdf994032f799718230e7016e811d9d482e5cf41814c888660ca9a68814d5e99ab571e892ada3bd43166e720cbf04c7f85b6934772c *${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 --virtual .gettext gettext     && mv /usr/bin/envsubst /tmp/         && runDeps="$(         scanelf --needed --nobanner /tmp/envsubst             | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }'             | sort -u             | xargs -r apk info --installed             | sort -u     )"     && apk add --no-cache $runDeps     && apk del --no-network .gettext     && mv /tmp/envsubst /usr/local/bin/     && 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
                        
# 2024-10-03 01:55:35  0.00B 设置环境变量 DYNPKG_RELEASE
ENV DYNPKG_RELEASE=1
                        
# 2024-10-03 01:55:35  0.00B 设置环境变量 PKG_RELEASE
ENV PKG_RELEASE=1
                        
# 2024-10-03 01:55:35  0.00B 设置环境变量 NGINX_VERSION
ENV NGINX_VERSION=1.27.2
                        
# 2024-10-03 01:55:35  0.00B 添加元数据标签
LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
                        
# 2024-09-06 20:05:36  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2024-09-06 20:05:36  8.83MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.20.3-aarch64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:9720e579e3cd39c38af839e0ade6888eb308ae084fd76f66b2220149317d6580",
    "RepoTags": [
        "rancher/mirrored-library-nginx:1.27.2-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx:1.27.2-alpine-linuxarm64"
    ],
    "RepoDigests": [
        "rancher/mirrored-library-nginx@sha256:8e9776e1c28f087ed4a5e1b8e8609a0a3a2317fee57f6d2dfe534941c63b263b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rancher/mirrored-library-nginx@sha256:e8fa076f846c50d77994630debf3c9daf22a703b80e3a50f16a43e2dd7f4c43a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-02T17:55:35Z",
    "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.27.2",
            "PKG_RELEASE=1",
            "DYNPKG_RELEASE=1",
            "NJS_VERSION=0.8.6",
            "NJS_RELEASE=1"
        ],
        "Cmd": [
            "nginx",
            "-g",
            "daemon off;"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e"
        },
        "StopSignal": "SIGQUIT"
    },
    "Architecture": "arm64",
    "Variant": "v8",
    "Os": "linux",
    "Size": 56801021,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/fbd8413b36f7b059218b1e031bc3ddaa968c33c4ce89ae4bd3816228902d3127/diff:/var/lib/docker/overlay2/fa1bd8adccce47bdb3406eb1d85f981d77023be5f1f897624adf6cc890865067/diff:/var/lib/docker/overlay2/ec43292de1f19775a6ca51155eee9620a0bbf4f65ccae8adf34c69ace68a7b72/diff:/var/lib/docker/overlay2/9316c180e2468d48d97b4acc8d6cccb2252be6e4323b542ec6a61a1f78ac2f80/diff:/var/lib/docker/overlay2/823ea7381064abb99096c099372aa12961069dc06eb75969c2d5e096058bb5e1/diff:/var/lib/docker/overlay2/1cb91e3f754cec6461fbb756377840ccab1d65f0a37715817584fd8df8639bc9/diff:/var/lib/docker/overlay2/38fe538f11d5aa49b1b7f54f90e60d572b5295ed50ae3b028e3bc7381fecd457/diff",
            "MergedDir": "/var/lib/docker/overlay2/df09d88bc6e67a286ef2b8bed4ea712ae730ace4d7af58c29ecbca69e042c2cb/merged",
            "UpperDir": "/var/lib/docker/overlay2/df09d88bc6e67a286ef2b8bed4ea712ae730ace4d7af58c29ecbca69e042c2cb/diff",
            "WorkDir": "/var/lib/docker/overlay2/df09d88bc6e67a286ef2b8bed4ea712ae730ace4d7af58c29ecbca69e042c2cb/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:651d9022c23486dfbd396c13db293af6845731cbd098a5f5606db4bc9f5573e8",
            "sha256:f14d3ecb0ff054ea5ceb65cdd61ee2d4e3da0d69d6b78cb414e73b62c3380201",
            "sha256:67817560d560bc6e6da8f4d82ef2c06f2244372def88fb69eb12a4b8858084fd",
            "sha256:83571a7e572405e864526e155292bfa578483d8b075d637e8ea880a3a8fb6183",
            "sha256:4d32511ea4de9ada566f841482921fe93b8b7c840bd5cb5e5074b1a9766382e7",
            "sha256:edc813212ba2445ddb5a880ad2e1c680f00118686876e3dbd41e4e4b6e15df5f",
            "sha256:a5a09d40b7a43d342534cfd57cb7bd52915c5115535a07d516bab88eccff60b3",
            "sha256:82b4ce63bf5a1be27f11bf927b7e33a8af6fa9d97ac178e40e6615eb008347ee"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-08-12T16:50:41.952697211+08:00"
    }
}

更多版本

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

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

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

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