docker.io/library/nginx:1.27.1-alpine linux/amd64

docker.io/library/nginx:1.27.1-alpine - 国内下载镜像源 浏览次数:120 安全受验证的发布者-Docker
NGINX 是一款流行的开源 web 服务器软件。 Docker 镜像 library/nginx 基于 Ubuntu 发行版,提供了 NGINX 的最新版本。该镜像可以用来部署 web 应用程序、反向代理和负载均衡等。
源镜像 docker.io/library/nginx:1.27.1-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.27.1-alpine
镜像ID sha256:c7b4f26a7d93f4f1f276c51adb03ef0df54a82de89f254a9aec5c18bf0e45ee9
镜像TAG 1.27.1-alpine
大小 43.24MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 120 次
贡献者
镜像创建 2024-08-14T23:51:24Z
同步时间 2024-09-13 16:46
更新时间 2024-11-20 13:27
开放端口
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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.27.1-alpine && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.27.1-alpine  docker.io/library/nginx:1.27.1-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.1-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx:1.27.1-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.27.1-alpine"
    ],
    "RepoDigests": [
        "nginx@sha256:a5127daff3d6f4606be3100a252419bfa84fd6ee5cd74d0feaca1a5068f97dcf",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/nginx@sha256:f02217c5abaea4a00ace9b937eab0b70472a417f96e9ec11b9c2cc192df397b7",
        "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/eca0a977cd62eeed799a56df9888eeff1c922219951d042e4c6b42ba54d3c146/diff:/var/lib/docker/overlay2/e7527e77eae3ea68dd3763631388b1ee62ae135189d5f712a7f638e8232d900c/diff:/var/lib/docker/overlay2/82ccb29e767463e5ee217435578b5c318dc0835e63cd69d696ad0e494dbe8a9c/diff:/var/lib/docker/overlay2/f4cf907f094be829383056ddad0635a2d8a204d35ba2152535d5dd24408bf483/diff:/var/lib/docker/overlay2/9a0028fee54d332ef4b4ce034dd5a5f03930870c382cc9d633c34c71ebc5dbee/diff:/var/lib/docker/overlay2/0da555eea9864be521a15c3bca8bd881045031dc666330ad1ad213ae90f6a125/diff:/var/lib/docker/overlay2/94dd1ec1a9e30e4bd836ab706b9d4674a4941f4ffda26bd7daf74118c12222b7/diff",
            "MergedDir": "/var/lib/docker/overlay2/6d11871c4075c96981461e8594a013ecaa600661f355fc2eb3484381d42372e7/merged",
            "UpperDir": "/var/lib/docker/overlay2/6d11871c4075c96981461e8594a013ecaa600661f355fc2eb3484381d42372e7/diff",
            "WorkDir": "/var/lib/docker/overlay2/6d11871c4075c96981461e8594a013ecaa600661f355fc2eb3484381d42372e7/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-13T16:46:52.764825517+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
119

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