docker.io/library/nginx:1.26.2-alpine linux/amd64

docker.io/library/nginx:1.26.2-alpine - 国内下载镜像源 浏览次数:165 安全受验证的发布者-Docker
NGINX 是一款流行的开源 web 服务器软件。 Docker 镜像 library/nginx 基于 Ubuntu 发行版,提供了 NGINX 的最新版本。该镜像可以用来部署 web 应用程序、反向代理和负载均衡等。
源镜像 docker.io/library/nginx:1.26.2-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.2-alpine
镜像ID sha256:b2041ffa213eacf159fc75520103d0f5f8477dfeeb2e6d4a44ed0f5f8065261b
镜像TAG 1.26.2-alpine
大小 43.24MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 165 次
贡献者
镜像创建 2024-08-14T23:51:24Z
同步时间 2024-09-14 10:18
更新时间 2024-11-20 23:09
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.26.2 PKG_RELEASE=1 DYNPKG_RELEASE=2 NJS_VERSION=0.8.5 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:1.26.2-alpine
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.2-alpine  docker.io/library/nginx:1.26.2-alpine

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
31.46MB 2024-08-15 07:51:24 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 -O https://hg.nginx.org/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz && PKGOSSCHECKSUM=\"825f610c44dfb97166112e6d060c0ba209a74f50e42c7c23a5b8742f468596f110bb1b4ca9299547a8a3d41f3a7caa864622f40f6c7bb4d8bab3d24880bdfb6a *${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
0.00B 2024-08-15 07:51:24 ENV NJS_RELEASE=1
0.00B 2024-08-15 07:51:24 ENV NJS_VERSION=0.8.5
0.00B 2024-08-15 07:51:24 CMD ["nginx" "-g" "daemon off;"]
0.00B 2024-08-15 07:51:24 STOPSIGNAL SIGQUIT
0.00B 2024-08-15 07:51:24 EXPOSE map[80/tcp:{}]
0.00B 2024-08-15 07:51:24 ENTRYPOINT ["/docker-entrypoint.sh"]
4.62KB 2024-08-15 07:51:24 COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
3.02KB 2024-08-15 07:51:24 COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
336.00B 2024-08-15 07:51:24 COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
2.12KB 2024-08-15 07:51:24 COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
1.62KB 2024-08-15 07:51:24 COPY docker-entrypoint.sh / # buildkit
3.97MB 2024-08-15 07:51:24 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 -O https://hg.nginx.org/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz && PKGOSSCHECKSUM=\"825f610c44dfb97166112e6d060c0ba209a74f50e42c7c23a5b8742f468596f110bb1b4ca9299547a8a3d41f3a7caa864622f40f6c7bb4d8bab3d24880bdfb6a *${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
0.00B 2024-08-15 07:51:24 ENV DYNPKG_RELEASE=2
0.00B 2024-08-15 07:51:24 ENV PKG_RELEASE=1
0.00B 2024-08-15 07:51:24 ENV NGINX_VERSION=1.26.2
0.00B 2024-08-15 07:51:24 LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
0.00B 2024-08-15 07:51:24 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-08-15 07:51:24 /bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /

镜像信息

{
    "Id": "sha256:b2041ffa213eacf159fc75520103d0f5f8477dfeeb2e6d4a44ed0f5f8065261b",
    "RepoTags": [
        "nginx:1.26.2-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.2-alpine"
    ],
    "RepoDigests": [
        "nginx@sha256:5b44a5ab8ab467854f2bf7b835a32f850f32eb414b749fbf7ed506b139cd8d6b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx@sha256:fe1e49f651f17d76125ec615ec04c5121cefeef6864cb7e394ceab3b65e28152"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-08-14T23:51:24Z",
    "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.26.2",
            "PKG_RELEASE=1",
            "DYNPKG_RELEASE=2",
            "NJS_VERSION=0.8.5",
            "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": "amd64",
    "Os": "linux",
    "Size": 43236779,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/0245d648e9672edf7775e1c265937c9bd7c702ac33736f75d4d1bacc2a70308e/diff:/var/lib/docker/overlay2/0ec63f063bb86efc3beaafc24d3d938db7d2a02e57ce705b87497160d7c94c39/diff:/var/lib/docker/overlay2/93c74e60838dfdba79365a8fbdd0d1e254942bf291e340f57152037edada2426/diff:/var/lib/docker/overlay2/7f91b70d556c2aac60686dc6a8ec49d6fee51254ffa8aa11584b16eb81a294e0/diff:/var/lib/docker/overlay2/bf02cbf31a24b31b39325dc979f57fc61ced0040807c916d8daf8756f7d0110b/diff:/var/lib/docker/overlay2/2c966f23926ce0dc3641b97f07fe8eb06f4abc74764297899dd147033e02db28/diff:/var/lib/docker/overlay2/94dd1ec1a9e30e4bd836ab706b9d4674a4941f4ffda26bd7daf74118c12222b7/diff",
            "MergedDir": "/var/lib/docker/overlay2/c9d8701b4a1249d60581d80928db37c5d9f9e27dd44a59b675732ee587f24309/merged",
            "UpperDir": "/var/lib/docker/overlay2/c9d8701b4a1249d60581d80928db37c5d9f9e27dd44a59b675732ee587f24309/diff",
            "WorkDir": "/var/lib/docker/overlay2/c9d8701b4a1249d60581d80928db37c5d9f9e27dd44a59b675732ee587f24309/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:63ca1fbb43ae5034640e5e6cb3e083e05c290072c5366fcaa9d62435a4cced85",
            "sha256:79e115cdbbc641427d358761f4f982776b638b0a34eaa373d84d2012c3708e8f",
            "sha256:49b518bf0955d1b4701f3def073bd1839a37a2ed783ec9556ccb597e272af0d1",
            "sha256:9b5235fc5707f83481a9dad0f4d90aed1c87e24f32fb1246d4e88c4999a610aa",
            "sha256:290d7f65c18400f7d04054b3b5c0547222c0b6d3a50c71ec40933a157ec482e1",
            "sha256:8bc64ec55144b95dcaa757d58da9f02d0a17b7bbed08b14afbaa859545c20e09",
            "sha256:c07bc2656537d525df8d5a92002217a30b8f66ff3b80d69b1db23f2236d8a357",
            "sha256:f352517f6be4b5b3cc09e9ea66977bacd9b82b0a39f0c2f1523f8099f8cf963b"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-14T10:18:55.303759236+08:00"
    }
}

更多版本

docker.io/library/nginx:alpine

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

docker.io/library/nginx:stable-perl

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

docker.io/library/nginx:1.27

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

docker.io/library/nginx:1.23.2

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

docker.io/library/nginx:1.25.2-alpine

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

docker.io/library/nginx:1.25

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

docker.io/library/nginx:1.16.0-alpine

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

docker.io/library/nginx:latest

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

docker.io/library/nginx:1.27.1-alpine

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

docker.io/library/nginx:1.26.2-alpine

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

docker.io/library/nginx:stable-alpine

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

docker.io/library/nginx:1.17.6

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

docker.io/library/nginx:1.25.3

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

docker.io/library/nginx:1.26-alpine

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

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

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

docker.io/library/nginx:1.27.2

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

docker.io/library/nginx:1.18.0-alpine

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

docker.io/library/nginx:1.25.5-perl

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