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

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

系统OS: debian 12.6 扫描引擎: Trivy 扫描时间: 2024-12-05 17:20

低危漏洞:97 中危漏洞:45 高危漏洞:18 严重漏洞:5

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

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

Containerd拉取命令

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

Shell快速替换命令

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

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 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.1  docker.io/library/nginx:1.26.1'

镜像构建历史


# 2024-06-21 10:12:35  0.00B 设置默认要执行的命令
CMD ["nginx" "-g" "daemon off;"]
                        
# 2024-06-21 10:12:35  0.00B 设置停止容器时发送的系统调用信号
STOPSIGNAL SIGQUIT
                        
# 2024-06-21 10:12:35  0.00B 声明容器运行时监听的端口
EXPOSE map[80/tcp:{}]
                        
# 2024-06-21 10:12:35  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/docker-entrypoint.sh"]
                        
# 2024-06-21 10:12:35  4.62KB 复制新文件或目录到容器中
COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
                        
# 2024-06-21 10:12:35  3.02KB 复制新文件或目录到容器中
COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
                        
# 2024-06-21 10:12:35  336.00B 复制新文件或目录到容器中
COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
                        
# 2024-06-21 10:12:35  2.12KB 复制新文件或目录到容器中
COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
                        
# 2024-06-21 10:12:35  1.62KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh / # buildkit
                        
# 2024-06-21 10:12:35  112.81MB 执行命令并创建新的镜像层
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}-${PKG_RELEASE}         nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE}         nginx-module-image-filter=${NGINX_VERSION}-${PKG_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/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list             && apt-get update             ;;         *)             echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list                         && tempDir="$(mktemp -d)"             && chmod 777 "$tempDir"                         && savedAptMark="$(apt-mark showmanual)"                         && apt-get update             && apt-get build-dep -y $nginxPackages             && (                 cd "$tempDir"                 && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)"                     apt-get source --compile $nginxPackages             )                         && 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
                        
# 2024-06-21 10:12:35  0.00B 设置环境变量 PKG_RELEASE
ENV PKG_RELEASE=2~bookworm
                        
# 2024-06-21 10:12:35  0.00B 设置环境变量 NJS_RELEASE
ENV NJS_RELEASE=2~bookworm
                        
# 2024-06-21 10:12:35  0.00B 设置环境变量 NJS_VERSION
ENV NJS_VERSION=0.8.4
                        
# 2024-06-21 10:12:35  0.00B 设置环境变量 NGINX_VERSION
ENV NGINX_VERSION=1.26.1
                        
# 2024-06-21 10:12:35  0.00B 添加元数据标签
LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
                        
# 2024-06-21 10:12:35  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-06-21 10:12:35  74.78MB 
/bin/sh -c #(nop) ADD file:3d9897cfe027ecc7cbdb16e74a676ed143725ea2d08dbb0dde23309e041de0f3 in / 
                        
                    

镜像信息

{
    "Id": "sha256:cd43ca3ebe4acdc90375a2ec6f1945e3eee504981eb31b00a7746d041189b57c",
    "RepoTags": [
        "nginx:1.26.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.26.1"
    ],
    "RepoDigests": [
        "nginx@sha256:0f0c707b16468ea9b6cc13a315f29d2c84b0fc53c223ee4b3e8b882506343659",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx@sha256:03bc8cca389b961e1f446706e83c1e565fd4426b0658a5478ad69aa737dc1570"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-06-21T02:12: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.26.1",
            "NJS_VERSION=0.8.4",
            "NJS_RELEASE=2~bookworm",
            "PKG_RELEASE=2~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": 187599268,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/7c25c3feb738895dc26baeca8e60422436ac0ed92849f6b3539a71cc09aaa533/diff:/var/lib/docker/overlay2/6d53b63b34bc202e433c3721cae39e85c33fddcecdb3e34b2f903094dd9f30fc/diff:/var/lib/docker/overlay2/b08193590d55c40d51c89e9bc3500859925da50695350dc9cccf0299b11cc60b/diff:/var/lib/docker/overlay2/44a7ed8fba47f506891633d3a651e163b76d5462ac4263c59c1147094f962b78/diff:/var/lib/docker/overlay2/7eb164f917d6b48820038d292af6841644113a59e52bdb52dd66a6425d2482c4/diff:/var/lib/docker/overlay2/4718a9dc8182bd77467a0e41b78eb1e17cbd8058d35092b685621cee98a19bd8/diff",
            "MergedDir": "/var/lib/docker/overlay2/e025b56af480338a72a7798818bdb757e9fdb5f6369bdba965f451a549b02585/merged",
            "UpperDir": "/var/lib/docker/overlay2/e025b56af480338a72a7798818bdb757e9fdb5f6369bdba965f451a549b02585/diff",
            "WorkDir": "/var/lib/docker/overlay2/e025b56af480338a72a7798818bdb757e9fdb5f6369bdba965f451a549b02585/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:9853575bc4f955c5892dd64187538a6cd02dba6968eba9201854876a7a257034",
            "sha256:9c94fd337c9ae48dceccbf79e335b1466484310be9f2eae53570b6ba13dc54d0",
            "sha256:fd2e008dc94ffbf8b4dd89950924ec67b6bb0958f3b7fa7947e1208df57432ed",
            "sha256:4d10ac38b61cc403c461642cd9e2fda652def94890b5f07590a9a1dc8734e43d",
            "sha256:3b747725bc80202866c6b185b9d831898bf424102e62e288c1bafd0b98aeb7a5",
            "sha256:60c134e8aebcc83fce1e5fc01472dddd28ee9b82234c74ff452bc5db260a6516",
            "sha256:9a97f522cdaa658b562b7f909af74f08d4af0df97539fa56cde22ccaf13ffa5e"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-05T17:18:44.446696749+08:00"
    }
}

更多版本

docker.io/library/nginx:alpine

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

docker.io/library/nginx:stable-perl

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

docker.io/library/nginx:1.27

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

docker.io/library/nginx:1.23.2

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

docker.io/library/nginx:1.25.2-alpine

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

docker.io/library/nginx:1.25

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

docker.io/library/nginx:1.16.0-alpine

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

docker.io/library/nginx:latest

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

docker.io/library/nginx:1.27.1-alpine

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

docker.io/library/nginx:1.26.2-alpine

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

docker.io/library/nginx:stable-alpine

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

docker.io/library/nginx:1.17.6

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

docker.io/library/nginx:1.25.3

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

docker.io/library/nginx:1.26-alpine

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

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

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

docker.io/library/nginx:1.27.2

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

docker.io/library/nginx:1.18.0-alpine

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

docker.io/library/nginx:1.25.5-perl

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

docker.io/library/nginx:1.26.1

linux/amd64 docker.io187.60MB2024-12-05 17:18
60

docker.io/library/nginx:stable-alpine3.17-slim

linux/amd64 docker.io11.52MB2024-12-26 18:06
53

docker.io/library/nginx:alpine

linux/amd64 docker.io47.05MB2025-01-14 12:12
17