docker.io/nginx:1.27.2-alpine-slim linux/amd64

docker.io/nginx:1.27.2-alpine-slim - 国内下载镜像源 浏览次数:253
nginx镜像用于运行Nginx Web 服务器。
源镜像 docker.io/nginx:1.27.2-alpine-slim
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.27.2-alpine-slim
镜像ID sha256:d769f03e916de3ddf7e097f757e2615b69ecb7bcbd829c77353c6ac6164f35bd
镜像TAG 1.27.2-alpine-slim
大小 11.79MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 253 次
贡献者
镜像创建 2024-10-02T17:55:35Z
同步时间 2024-10-30 17:48
更新时间 2025-01-16 12:33
开放端口
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
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.20.3 扫描引擎: Trivy 扫描时间: 2024-10-30 17:48

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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 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  3.99MB 执行命令并创建新的镜像层
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-07 06:20:07  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2024-09-07 06:20:07  7.80MB 
/bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / 
                        
                    

镜像信息

{
    "Id": "sha256:d769f03e916de3ddf7e097f757e2615b69ecb7bcbd829c77353c6ac6164f35bd",
    "RepoTags": [
        "nginx:1.27.2-alpine-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.27.2-alpine-slim"
    ],
    "RepoDigests": [
        "nginx@sha256:e9293c9bedb0db866e7d2b69e58131db4c2478e6cd216cdd99b134830703983a",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx@sha256:801f3ffd2b5923652d53adec646975a93151cdd02c5252605714ef92e19219f7"
    ],
    "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"
        ],
        "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": 11794931,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/59fb9d7b8eeb91e23b8bf2f6c7daa5948521c51ce4d12df283749cea0b5342f9/diff:/var/lib/docker/overlay2/89ae63b3b7cbffaf4b998e493821e28ef02e91118d8dc572907d20133dd96255/diff:/var/lib/docker/overlay2/806cba99f0dd6ce95e799d9a2bdd8e42265748ef3d2cd0e45c8f61cb6b6c1b91/diff:/var/lib/docker/overlay2/46ca52ae3976c3871078595f8bd5d16702c3a445588e57a283a06d6e15e6ea78/diff:/var/lib/docker/overlay2/cb14df366734c446b34c96b059fcfb9d25acbba63bd6abdb696c989e8c9ba4f9/diff:/var/lib/docker/overlay2/56dbc2212cbc9b991b1a93a72a8c08a3a8460c06576fe4f3267009446334aa65/diff",
            "MergedDir": "/var/lib/docker/overlay2/b85793097b61af8ffffe97bbfe8d284c075c7cacd76723238108a6af801fb55c/merged",
            "UpperDir": "/var/lib/docker/overlay2/b85793097b61af8ffffe97bbfe8d284c075c7cacd76723238108a6af801fb55c/diff",
            "WorkDir": "/var/lib/docker/overlay2/b85793097b61af8ffffe97bbfe8d284c075c7cacd76723238108a6af801fb55c/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:63ca1fbb43ae5034640e5e6cb3e083e05c290072c5366fcaa9d62435a4cced85",
            "sha256:4e9e0d6ba2ccd65ed0dccce11c38e32e28b944a57c9f82604854c6cd0e900f13",
            "sha256:1241fe31c0bf54709b7a053b680aafb797161d9002b251ede1559a9ab83b4663",
            "sha256:f80bfdacda57223a362ec6d1ac77fdfb11623ef0cc779bf48e320e043620e612",
            "sha256:0de02d5b2d31162b8020d5648ce9d2bb30ac1b0c2702653f18bfe5914e70e83f",
            "sha256:6033613561cc0cd06570a172176efdbc8f342ec413e93e31d835558bb23940df",
            "sha256:a533c9e2e114a588af1ff6d72e1b93eeca56286a10b049d6a5df3d3a2a9928de"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-30T17:48:39.24562003+08:00"
    }
}

更多版本

docker.io/nginx:mainline-alpine3.18-perl

linux/amd64 docker.io78.10MB2024-03-11 14:24
677

docker.io/nginx:alpine3.18-perl

linux/amd64 docker.io78.10MB2024-03-11 14:24
770

docker.io/nginx:1.27

linux/amd64 docker.io187.64MB2024-06-14 16:00
826

docker.io/nginx:1.27.0

linux/amd64 docker.io187.64MB2024-06-14 16:05
4273

docker.io/nginx:alpine

linux/amd64 docker.io48.31MB2024-06-19 13:46
703

docker.io/nginx:1.26.1-alpine

linux/amd64 docker.io48.31MB2024-06-19 15:44
1571

docker.io/nginx:stable

linux/amd64 docker.io187.66MB2024-06-19 16:39
2667

docker.io/nginx:1.25.5-bookworm-perl

linux/amd64 docker.io235.67MB2024-06-28 01:33
338

docker.io/nginx:1.18.0

linux/amd64 docker.io132.90MB2024-06-29 17:58
444

docker.io/nginx:stable

linux/arm64 docker.io193.00MB2024-07-08 15:35
1453

docker.io/nginx:1.21

linux/amd64 docker.io141.53MB2024-07-11 14:19
1008

docker.io/nginx:1.26.1-alpine-slim

linux/amd64 docker.io12.01MB2024-07-16 16:21
707

docker.io/nginx:1.26.1-alpine

linux/arm64 docker.io44.84MB2024-07-19 15:23
324

docker.io/nginx:alpine

linux/arm64 docker.io44.84MB2024-07-19 20:39
582

docker.io/nginx:1.20.2-alpine

linux/amd64 docker.io23.16MB2024-07-28 09:09
247

docker.io/nginx:1.25.2-alpine

linux/amd64 docker.io42.60MB2024-08-12 08:27
278

docker.io/nginx:1.16

linux/arm64 docker.io120.09MB2024-08-15 14:56
890

docker.io/nginx:latest

linux/amd64 docker.io187.69MB2024-08-25 17:25
2444

docker.io/nginx:1.26.2

linux/amd64 docker.io187.69MB2024-08-27 14:29
686

docker.io/nginx:1.26.1

linux/amd64 docker.io187.60MB2024-08-27 14:31
591

docker.io/nginx:1.25.5

linux/amd64 docker.io187.66MB2024-08-27 14:32
204

docker.io/nginx:1.27.1

linux/amd64 docker.io187.69MB2024-08-27 14:47
627

docker.io/nginx:1.22.1-alpine

linux/amd64 docker.io40.98MB2024-09-02 10:33
257

docker.io/nginx:1.26.2-alpine

linux/amd64 docker.io43.26MB2024-09-02 10:34
235

docker.io/nginx:1.27-alpine-perl

linux/amd64 docker.io80.79MB2024-09-09 19:18
198

docker.io/nginx:1.27.1-alpine

linux/amd64 docker.io43.24MB2024-09-13 16:27
223

docker.io/nginx:1.20.2

linux/amd64 docker.io141.50MB2024-09-14 16:48
286

docker.io/nginx:1.14.1

linux/amd64 docker.io109.08MB2024-09-24 00:17
269

docker.io/nginx:1.27-alpine

linux/amd64 docker.io43.24MB2024-09-26 17:25
193

docker.io/nginx:1.23.2

linux/amd64 docker.io141.77MB2024-09-29 17:58
233

docker.io/nginx:1.26.1

linux/arm docker.io135.58MB2024-09-29 18:04
184

docker.io/nginx:1.26.1

linux/arm64 docker.io193.00MB2024-09-29 18:07
203

docker.io/nginx:1.23.2

linux/arm docker.io109.21MB2024-09-29 18:09
177

docker.io/nginx:alpine3.20

linux/amd64 docker.io47.00MB2024-10-15 19:50
330

docker.io/nginxinc/nginx-unprivileged:1.27-alpine

linux/amd64 docker.io47.02MB2024-10-18 22:04
968

docker.io/nginx:1.21.4-alpine

linux/amd64 docker.io23.20MB2024-10-21 17:39
143

docker.io/nginxinc/nginx-unprivileged:1.25-alpine

linux/amd64 docker.io48.32MB2024-10-22 17:25
323

docker.io/nginx:1.24.0

linux/arm64 docker.io135.14MB2024-10-24 17:53
367

docker.io/nginx:1.24.0

linux/amd64 docker.io142.31MB2024-10-25 09:58
415

docker.io/nginx:1.13.0

linux/amd64 docker.io109.39MB2024-10-29 14:03
239

docker.io/nginx:1.27.2-alpine-slim

linux/amd64 docker.io11.79MB2024-10-30 17:48
252

docker.io/nginx:1.27.2-alpine

linux/arm64 docker.io50.84MB2024-10-31 11:33
347

docker.io/nginx:1.27.2

linux/arm64 docker.io196.88MB2024-10-31 11:38
425

docker.io/nginx:1.27.2-perl

linux/amd64 docker.io239.68MB2024-11-04 11:39
103

docker.io/nginx/nginx-ingress:3.3.2

linux/amd64 docker.io302.96MB2024-11-05 19:06
79

docker.io/nginx:1.17.1

linux/amd64 docker.io109.36MB2024-11-18 16:01
74

docker.io/nginx:1.17.2

linux/amd64 docker.io125.85MB2024-11-20 17:53
62

docker.io/nginx:1.17.3

linux/amd64 docker.io125.98MB2024-11-20 17:56
64

docker.io/nginx:1.17.4

linux/amd64 docker.io125.99MB2024-11-20 18:15
62

docker.io/nginx:1.26

linux/amd64 docker.io187.70MB2024-11-22 11:29
66

docker.io/nginx:1.26

linux/arm64 docker.io193.07MB2024-11-22 11:31
67

docker.io/nginx:1.26.2

linux/arm64 docker.io193.07MB2024-11-22 11:59
253

docker.io/nginx:1.21.6

linux/amd64 docker.io141.53MB2024-11-22 15:08
72

docker.io/nginx/nginx-prometheus-exporter:1.3.0

linux/amd64 docker.io12.57MB2024-11-22 16:10
66

docker.io/nginx:1.19.7-alpine

linux/amd64 docker.io22.55MB2024-11-25 11:51
78

docker.io/nginx:1.27.3

linux/amd64 docker.io191.72MB2024-11-27 18:26
249

docker.io/nginx/nginx-ingress:3.7.2-20241201-alpine

linux/amd64 docker.io128.63MB2024-12-03 14:28
58

docker.io/nginx:1.27.3-alpine

linux/amd64 docker.io52.54MB2024-12-06 15:37
96

docker.io/nginx:stable-alpine-perl

linux/amd64 docker.io86.32MB2024-12-08 16:23
98

docker.io/nginx:alpine-slim

linux/arm64 docker.io19.17MB2024-12-18 17:47
62

docker.io/nginx:1.19.2-alpine

linux/amd64 docker.io22.05MB2024-12-19 10:16
66

docker.io/nginx:1.25.2

linux/arm64 docker.io192.07MB2024-12-20 16:50
62

docker.io/nginx:1.25.1

linux/amd64 docker.io186.86MB2024-12-23 09:23
57

docker.io/nginxinc/nginx-unprivileged:1.26-alpine

linux/amd64 docker.io48.78MB2024-12-25 01:01
45

docker.io/nginx/nginx-ingress:3.7.0

linux/amd64 docker.io282.26MB2024-12-27 22:16
47

docker.io/nginx:1.26.0

linux/amd64 docker.io187.66MB2024-12-29 11:11
40

docker.io/nginxinc/nginx-unprivileged:perl

linux/amd64 docker.io239.78MB2024-12-30 23:51
157

docker.io/nginx:latest

linux/arm64 docker.io197.05MB2025-01-03 16:54
63

docker.io/nginx:1.27.0

linux/arm64 docker.io193.00MB2025-01-07 16:50
32

docker.io/nginx:1.22.1-alpine3.17-slim

linux/amd64 docker.io11.49MB2025-01-08 09:37
45