docker.io/library/nginx:1.27.2 linux/amd64

docker.io/library/nginx:1.27.2 - 国内下载镜像源 浏览次数:53 安全受验证的发布者-Docker
NGINX 是一款流行的开源 web 服务器软件。 Docker 镜像 library/nginx 基于 Ubuntu 发行版,提供了 NGINX 的最新版本。该镜像可以用来部署 web 应用程序、反向代理和负载均衡等。
源镜像 docker.io/library/nginx:1.27.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.27.2
镜像ID sha256:3b25b682ea82b2db3cc4fd48db818be788ee3f902ac7378090cf2624ec2442df
镜像TAG 1.27.2
大小 191.67MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 53 次
贡献者 la*****f@163.com
镜像创建 2024-10-02T17:55:35Z
同步时间 2024-11-07 15:01
更新时间 2024-11-21 14:50
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.27.2 NJS_VERSION=0.8.6 NJS_RELEASE=1~bookworm PKG_RELEASE=1~bookworm DYNPKG_RELEASE=1~bookworm
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.7 扫描引擎: Trivy 扫描时间: 2024-11-07 15:01

低危漏洞:100 中危漏洞:35 高危漏洞:13 严重漏洞:2

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-10-03 01:55:35 CMD ["nginx" "-g" "daemon off;"]
0.00B 2024-10-03 01:55:35 STOPSIGNAL SIGQUIT
0.00B 2024-10-03 01:55:35 EXPOSE map[80/tcp:{}]
0.00B 2024-10-03 01:55:35 ENTRYPOINT ["/docker-entrypoint.sh"]
4.62KB 2024-10-03 01:55:35 COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
3.02KB 2024-10-03 01:55:35 COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
389.00B 2024-10-03 01:55:35 COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
2.12KB 2024-10-03 01:55:35 COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
1.62KB 2024-10-03 01:55:35 COPY docker-entrypoint.sh / # buildkit
116.88MB 2024-10-03 01:55:35 RUN /bin/sh -c set -x && groupadd --system --gid 101 nginx && useradd --system --gid nginx --no-create-home --home /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates && NGINX_GPGKEYS="573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 8540A6F18833A80E9C1653A42FD21310B49F6B46 9E9BE90EACBCDE69FE9B204CBCDCD8A38D88A2B3"; NGINX_GPGKEY_PATH=/etc/apt/keyrings/nginx-archive-keyring.gpg; export GNUPGHOME="$(mktemp -d)"; found=''; for NGINX_GPGKEY in $NGINX_GPGKEYS; do for server in hkp://keyserver.ubuntu.com:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; gpg1 --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; done; gpg1 --export "$NGINX_GPGKEYS" > "$NGINX_GPGKEY_PATH" ; rm -rf "$GNUPGHOME"; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${NJS_RELEASE} " && case "$dpkgArch" in amd64|arm64) echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y curl devscripts equivs git libxml2-utils lsb-release xsltproc && ( cd "$tempDir" && REVISION="${NGINX_VERSION}-${PKG_RELEASE}" && REVISION=${REVISION%~*} && curl -f -L -O https://github.com/nginx/pkg-oss/archive/${REVISION}.tar.gz && PKGOSSCHECKSUM="6982e2df739645fc72db5bdf994032f799718230e7016e811d9d482e5cf41814c888660ca9a68814d5e99ab571e892ada3bd43166e720cbf04c7f85b6934772c *${REVISION}.tar.gz" && if [ "$(openssl sha512 -r ${REVISION}.tar.gz)" = "$PKGOSSCHECKSUM" ]; then echo "pkg-oss tarball checksum verification succeeded!"; else echo "pkg-oss tarball checksum verification failed!"; exit 1; fi && tar xzvf ${REVISION}.tar.gz && cd pkg-oss-${REVISION} && cd debian && for target in base module-geoip module-image-filter module-njs module-xslt; do make rules-$target; mk-build-deps --install --tool="apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes" debuild-$target/nginx-$NGINX_VERSION/debian/control; done && make base module-geoip module-image-filter module-njs module-xslt ) && apt-mark showmanual | xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi && 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-10-03 01:55:35 ENV DYNPKG_RELEASE=1~bookworm
0.00B 2024-10-03 01:55:35 ENV PKG_RELEASE=1~bookworm
0.00B 2024-10-03 01:55:35 ENV NJS_RELEASE=1~bookworm
0.00B 2024-10-03 01:55:35 ENV NJS_VERSION=0.8.6
0.00B 2024-10-03 01:55:35 ENV NGINX_VERSION=1.27.2
0.00B 2024-10-03 01:55:35 LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
0.00B 2024-10-03 01:55:35 /bin/sh -c #(nop) CMD ["bash"]
74.78MB 2024-10-03 01:55:35 /bin/sh -c #(nop) ADD file:90b9dd8f12120e8b2cd3ece45fcbe8af67e40565e2032a40f64bd921c43e2ce7 in /

镜像信息

{
    "Id": "sha256:3b25b682ea82b2db3cc4fd48db818be788ee3f902ac7378090cf2624ec2442df",
    "RepoTags": [
        "nginx:1.27.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.27.2"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx@sha256:7ba542bde95e6523a4b126f610553e3657b8108bc3175596ee7e911ae1219bfc"
    ],
    "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",
            "NJS_VERSION=0.8.6",
            "NJS_RELEASE=1~bookworm",
            "PKG_RELEASE=1~bookworm",
            "DYNPKG_RELEASE=1~bookworm"
        ],
        "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": 191670474,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/52a5cb879a8fb4e405edae027954a0692ee52050e8b3bafbafb9df0e1b65e6dc/diff:/var/lib/docker/overlay2/08fcd590579dc4c99bb23671fb3365ad0f78d20999aa4aedde9e7882bba892f2/diff:/var/lib/docker/overlay2/acfbb3501c126bb7c72a8f06e68bcff0d90a565a5216683270b9ad0ffbba3ae5/diff:/var/lib/docker/overlay2/05a4f04fb843b36c06602ab16c1089ac7e75aa386ca7373434e2cb59e7ab1476/diff:/var/lib/docker/overlay2/02f85fab27bae81343ab5260e37126b54849f497666568428473eb02d3fff06f/diff:/var/lib/docker/overlay2/640dc40711366eefdc38587353d7800897ec5b45fb0486472d1bbe1802e322be/diff",
            "MergedDir": "/var/lib/docker/overlay2/95bda03f5aa35aa0b4238f17b8bb80967a27279044c15de8bf5ae206929df376/merged",
            "UpperDir": "/var/lib/docker/overlay2/95bda03f5aa35aa0b4238f17b8bb80967a27279044c15de8bf5ae206929df376/diff",
            "WorkDir": "/var/lib/docker/overlay2/95bda03f5aa35aa0b4238f17b8bb80967a27279044c15de8bf5ae206929df376/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:98b5f35ea9d3eca6ed1881b5fe5d1e02024e1450822879e4c13bb48c9386d0ad",
            "sha256:b33db0c3c3a85f397c49b1bf862e0472bb39388bd7102c743660c9a22a124597",
            "sha256:63d7ce983cd5c7593c2e2467d6d998bb78ddbc2f98ec5fed7f62d730a7b05a0c",
            "sha256:296af1bd28443744e7092db4d896e9fda5fc63685ce2fcd4e9377d349dd99cc2",
            "sha256:8ce189049cb55c3084f8d48f513a7a6879d668d9e5bd2d4446e3e7ef39ffee60",
            "sha256:6ac729401225c94b52d2714419ebdb0b802d25a838d87498b47f6c5d1ce05963",
            "sha256:e4e9e9ad93c28c67ad8b77938a1d7b49278edb000c5c26c87da1e8a4495862ad"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-07T15:01:21.495270322+08:00"
    }
}

更多版本

docker.io/library/nginx:alpine

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

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
261

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
140

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
52

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
24