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

docker.io/library/nginx:1.26.1-alpine3.19-slim - 国内下载镜像源 浏览次数:39 安全受验证的发布者-Docker
NGINX 是一款流行的开源 web 服务器软件。 Docker 镜像 library/nginx 基于 Ubuntu 发行版,提供了 NGINX 的最新版本。该镜像可以用来部署 web 应用程序、反向代理和负载均衡等。
源镜像 docker.io/library/nginx:1.26.1-alpine3.19-slim
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.1-alpine3.19-slim
镜像ID sha256:4164bbfd295e500f2e6c1c2920277fde20b0ee83d27d8928f3c9da037435aad5
镜像TAG 1.26.1-alpine3.19-slim
大小 12.01MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 39 次
贡献者
镜像创建 2024-06-21T00:41:06Z
同步时间 2024-11-04 11:17
更新时间 2024-11-21 13:28
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.26.1 PKG_RELEASE=2
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.19.3 扫描引擎: Trivy 扫描时间: 2024-11-04 11:17

低危漏洞:2 中危漏洞:2 高危漏洞:0 严重漏洞:0

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.1-alpine3.19-slim
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.1-alpine3.19-slim  docker.io/library/nginx:1.26.1-alpine3.19-slim

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.1-alpine3.19-slim
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.1-alpine3.19-slim  docker.io/library/nginx:1.26.1-alpine3.19-slim

Shell快速替换命令

sed -i 's#library/nginx:1.26.1-alpine3.19-slim#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.1-alpine3.19-slim#' 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.1-alpine3.19-slim && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.1-alpine3.19-slim  docker.io/library/nginx:1.26.1-alpine3.19-slim'

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-06-21 08:41:06 CMD ["nginx" "-g" "daemon off;"]
0.00B 2024-06-21 08:41:06 STOPSIGNAL SIGQUIT
0.00B 2024-06-21 08:41:06 EXPOSE map[80/tcp:{}]
0.00B 2024-06-21 08:41:06 ENTRYPOINT ["/docker-entrypoint.sh"]
4.62KB 2024-06-21 08:41:06 COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
3.02KB 2024-06-21 08:41:06 COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
336.00B 2024-06-21 08:41:06 COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
2.12KB 2024-06-21 08:41:06 COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
1.62KB 2024-06-21 08:41:06 COPY docker-entrypoint.sh / # buildkit
4.61MB 2024-06-21 08:41:06 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 && 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=\"0db2bf5f86e7c31f23d0e3e7699a5d8a4d9d9b0dc2f98d3e3a31e004df20206270debf6502e4481892e8b64d55fba73fcc8d74c3e0ddfcd2d3f85a17fa02a25e *${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-06-21 08:41:06 ENV PKG_RELEASE=2
0.00B 2024-06-21 08:41:06 ENV NGINX_VERSION=1.26.1
0.00B 2024-06-21 08:41:06 LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
0.00B 2024-06-21 08:41:06 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.40MB 2024-06-21 08:41:06 /bin/sh -c #(nop) ADD file:c644b15c170e2ca46176a566910d40a21dce66518ed8fdfd34ebcf0e9dc90c55 in /

镜像信息

{
    "Id": "sha256:4164bbfd295e500f2e6c1c2920277fde20b0ee83d27d8928f3c9da037435aad5",
    "RepoTags": [
        "nginx:1.26.1-alpine3.19-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.1-alpine3.19-slim"
    ],
    "RepoDigests": [
        "nginx@sha256:154e108059468bed12d676c3c446e4767db24d6099f09e92918d28e052960bf4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx@sha256:634d4d5dcb245a48d4063ff854fa5098545f9dd3e8153f9a6f9d8d0bf8af932f"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-06-21T00:41:06Z",
    "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.1",
            "PKG_RELEASE=2"
        ],
        "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": 12014467,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/011717a7c53e9b7851c9947fef1aa7e6bbb7dcd6b1037361a8b55272fc3ad1fc/diff:/var/lib/docker/overlay2/9f28ec52b61c7f9c7f91ab4bf09d7ee0165c1f343b7eb0460ccd441a527d1b78/diff:/var/lib/docker/overlay2/88056f252cec410778ef8c973b8defc113ad0a3cbba09e7607d18e1e879c555f/diff:/var/lib/docker/overlay2/4871cfbbf9414877044a78e175d80bd04bce734e3055ba15ab56331f7cf69ba1/diff:/var/lib/docker/overlay2/03352557f31a6f21a10274aaa50a8a1787a1ae1ca2be127a1e497dfe6710d7d5/diff:/var/lib/docker/overlay2/16dddaf8eba5db38c0cdff774f62200417eda399caa1de7400c85aaa44c14016/diff",
            "MergedDir": "/var/lib/docker/overlay2/ea2a573613b6bf8e0e889ffb458b59191ab459cdf021c6a6582cfafbe9aa809b/merged",
            "UpperDir": "/var/lib/docker/overlay2/ea2a573613b6bf8e0e889ffb458b59191ab459cdf021c6a6582cfafbe9aa809b/diff",
            "WorkDir": "/var/lib/docker/overlay2/ea2a573613b6bf8e0e889ffb458b59191ab459cdf021c6a6582cfafbe9aa809b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:b895814e9e6408217eb0bf6d743ed1a1e2b7273a6b3ff66405b7a9c977a0c8e4",
            "sha256:181c3d85e7da3cc9fe264e313f4aa385f64322a902103e1e67e18668b769603c",
            "sha256:3531cb80f674e5229b5f59bc6f51f3251124ce3136f66db823620aaf062c890c",
            "sha256:a69eadb1dfb549b0eb49a490be0b2b1f21bd43a5f033b7db13a0b0989c8f35d4",
            "sha256:f271d2c48e6083c973444053125b8d5eac0e0f72c26fa7db646166150844a205",
            "sha256:eb1453afcc09b799d302ae4d4cc4000e223e9a20d74a2f21f0d8a5c9efed8272",
            "sha256:71788588c522decba089194d4aa32212bd216b4bb489b680a5ce059f4cd88d29"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-04T11:17:36.893871999+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
38

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