docker.io/nginx:1.27-alpine linux/amd64

docker.io/nginx:1.27-alpine - 国内下载镜像源 浏览次数:143
nginx镜像用于运行Nginx Web 服务器。
源镜像 docker.io/nginx:1.27-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.27-alpine
镜像ID sha256:c7b4f26a7d93f4f1f276c51adb03ef0df54a82de89f254a9aec5c18bf0e45ee9
镜像TAG 1.27-alpine
大小 43.24MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 143 次
贡献者
镜像创建 2024-08-14T23:51:24Z
同步时间 2024-09-26 17:25
更新时间 2024-11-20 16:13
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.27.1 PKG_RELEASE=1 DYNPKG_RELEASE=2 NJS_VERSION=0.8.5 NJS_RELEASE=1
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer
镜像安全扫描 查看Trivy扫描报告

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

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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.27-alpine && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.27-alpine  docker.io/nginx:1.27-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/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 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=\"b9fbdf1779186fc02aa59dd87597fe4e906892391614289a4e6eedba398a3e770347b5b07110cca8c11fa3ba85bb711626ae69832e74c69ca8340d040a465907 *${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/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 -O https://hg.nginx.org/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz && PKGOSSCHECKSUM=\"b9fbdf1779186fc02aa59dd87597fe4e906892391614289a4e6eedba398a3e770347b5b07110cca8c11fa3ba85bb711626ae69832e74c69ca8340d040a465907 *${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.27.1
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:c7b4f26a7d93f4f1f276c51adb03ef0df54a82de89f254a9aec5c18bf0e45ee9",
    "RepoTags": [
        "nginx:1.27-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.27-alpine"
    ],
    "RepoDigests": [
        "nginx@sha256:a5127daff3d6f4606be3100a252419bfa84fd6ee5cd74d0feaca1a5068f97dcf",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx@sha256:f02217c5abaea4a00ace9b937eab0b70472a417f96e9ec11b9c2cc192df397b7"
    ],
    "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.27.1",
            "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/72b1e33018b3b7c94a017db059bf3723c9e29e39f263b45f4866d99eb84b18e2/diff:/var/lib/docker/overlay2/d936105f04df0090aa3d5d5f36d750570e89c6717df0a323f87d9bf0b6d0d7fa/diff:/var/lib/docker/overlay2/b2e59e6ce7d9260759ab92cfb32190bf120076069c704e816d0258431edcffd8/diff:/var/lib/docker/overlay2/b69a7c79b7086efd9e29e55c3446643b390acb96e59416cdac6c26477c9a4aa6/diff:/var/lib/docker/overlay2/e3e262b82b644059b6a65664b461cea9172d911cbb293c83d41d853b8c0c1d9f/diff:/var/lib/docker/overlay2/f9546feff864a9b2d966591aa6e191dbeaad3be593e2826bb2fd7d61983d4404/diff:/var/lib/docker/overlay2/56dbc2212cbc9b991b1a93a72a8c08a3a8460c06576fe4f3267009446334aa65/diff",
            "MergedDir": "/var/lib/docker/overlay2/0cb7f7058f4c3f16e5c980b976a2c0a08192de45e7d30415ae63686f0c64dfa4/merged",
            "UpperDir": "/var/lib/docker/overlay2/0cb7f7058f4c3f16e5c980b976a2c0a08192de45e7d30415ae63686f0c64dfa4/diff",
            "WorkDir": "/var/lib/docker/overlay2/0cb7f7058f4c3f16e5c980b976a2c0a08192de45e7d30415ae63686f0c64dfa4/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:63ca1fbb43ae5034640e5e6cb3e083e05c290072c5366fcaa9d62435a4cced85",
            "sha256:2ff96b2e5450a90407eb56d0683091192aff9b7e5fa37254b94a7f8dcc4c79bf",
            "sha256:717b3a077b07fb6f8bdf782e1750f20ae11d8bb5917e167a29c0b0022e0a9a53",
            "sha256:aec1e8cf14f5c0071d1d8f6b3f6e273bfac3916b5b960e5746bfb6b33b91be23",
            "sha256:f7a5847cdca904c51b6573daca690f67c343c38218dfb838aeac772c52ed5afa",
            "sha256:11134cc97d7f076e5df4c36365e99ef68baf1d2c5f9d0964c680773ee06d0ef6",
            "sha256:027907faf592c9d4a0b1cb1a421347fa1d83a7bd9c819e68417b5ea1d4b643a9",
            "sha256:b0f60355fd52e5a6375c2a09aaf215035e7eb84e78c9d3aaaa928a1e3017a336"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-26T17:25:27.341029434+08:00"
    }
}

更多版本

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

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

docker.io/nginx:alpine3.18-perl

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

docker.io/nginx:1.27

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

docker.io/nginx:1.27.0

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

docker.io/nginx:alpine

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

docker.io/nginx:1.26.1-alpine

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

docker.io/nginx:stable

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

docker.io/nginx:1.25.5-bookworm-perl

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

docker.io/nginx:1.18.0

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

docker.io/nginx:stable

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

docker.io/nginx:1.21

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

docker.io/nginx:1.26.1-alpine-slim

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

docker.io/nginx:1.26.1-alpine

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

docker.io/nginx:alpine

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

docker.io/nginx:1.20.2-alpine

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

docker.io/nginx:1.25.2-alpine

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

docker.io/nginx:1.16

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

docker.io/nginx:latest

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

docker.io/nginx:1.26.2

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

docker.io/nginx:1.26.1

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

docker.io/nginx:1.25.5

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

docker.io/nginx:1.27.1

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

docker.io/nginx:1.22.1-alpine

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

docker.io/nginx:1.26.2-alpine

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

docker.io/nginx:1.27-alpine-perl

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

docker.io/nginx:1.27.1-alpine

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

docker.io/nginx:1.20.2

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

docker.io/nginx:1.14.1

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

docker.io/nginx:1.27-alpine

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

docker.io/nginx:1.23.2

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

docker.io/nginx:1.26.1

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

docker.io/nginx:1.26.1

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

docker.io/nginx:1.23.2

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

docker.io/nginx:alpine3.20

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

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

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

docker.io/nginx:1.21.4-alpine

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

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

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

docker.io/nginx:1.24.0

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

docker.io/nginx:1.24.0

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

docker.io/nginx:1.13.0

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

docker.io/nginx:1.27.2-alpine-slim

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

docker.io/nginx:1.27.2-alpine

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

docker.io/nginx:1.27.2

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

docker.io/nginx:1.27.2-perl

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

docker.io/nginx/nginx-ingress:3.3.2

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

docker.io/nginx:1.17.1

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

docker.io/nginx:1.17.2

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

docker.io/nginx:1.17.3

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

docker.io/nginx:1.17.4

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