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

docker.io/nginx:1.21.4-alpine - 国内下载镜像源 浏览次数:88
nginx镜像用于运行Nginx Web 服务器。
源镜像 docker.io/nginx:1.21.4-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.21.4-alpine
镜像ID sha256:b46db85084b80a87b94cc930a74105b74763d0175e14f5913ea5b07c312870f8
镜像TAG 1.21.4-alpine
大小 23.20MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 88 次
贡献者 fo***t@mlvw.team
镜像创建 2021-11-13T05:02:36.300109075Z
同步时间 2024-10-21 17:39
更新时间 2024-11-21 12:54
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.21.4 NJS_VERSION=0.7.0 PKG_RELEASE=1
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer
镜像安全扫描 查看Trivy扫描报告

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

低危漏洞:2 中危漏洞:31 高危漏洞:38 严重漏洞:6

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2021-11-13 13:02:36 /bin/sh -c #(nop) CMD ["nginx" "-g" "daemon off;"]
0.00B 2021-11-13 13:02:35 /bin/sh -c #(nop) STOPSIGNAL SIGQUIT
0.00B 2021-11-13 13:02:35 /bin/sh -c #(nop) EXPOSE 80
0.00B 2021-11-13 13:02:34 /bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh"]
4.61KB 2021-11-13 13:02:34 /bin/sh -c #(nop) COPY file:09a214a3e07c919af2fb2d7c749ccbc446b8c10eb217366e5a65640ee9edcc25 in /docker-entrypoint.d
1.04KB 2021-11-13 13:02:34 /bin/sh -c #(nop) COPY file:0fd5fca330dcd6a7de297435e32af634f29f7132ed0550d342cad9fd20158258 in /docker-entrypoint.d
1.96KB 2021-11-13 13:02:33 /bin/sh -c #(nop) COPY file:0b866ff3fc1ef5b03c4e6c8c513ae014f691fb05d530257dfffd07035c1b75da in /docker-entrypoint.d
1.20KB 2021-11-13 13:02:32 /bin/sh -c #(nop) COPY file:65504f71f5855ca017fb64d502ce873a31b2e0decd75297a8fb0a287f97acf92 in /
17.58MB 2021-11-13 13:02:32 /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} nginx-module-xslt=${NGINX_VERSION}-r${PKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-r${PKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-r${PKG_RELEASE} nginx-module-njs=${NGINX_VERSION}.${NJS_VERSION}-r${PKG_RELEASE} " && apk add --no-cache --virtual .checksum-deps openssl && case "$apkArch" in x86_64|aarch64) set -x && KEY_SHA512="e7fa8303923d9b95db37a77ad46c68fd4755ff935d0a534d26eba83de193c76166c68bfe7f65471bf8881004ef4aa6df3e34689c305662750c0172fca5d8552a *stdin" && wget -O /tmp/nginx_signing.rsa.pub https://nginx.org/keys/nginx_signing.rsa.pub && if [ "$(openssl rsa -pubin -in /tmp/nginx_signing.rsa.pub -text -noout | openssl sha512 -r)" = "$KEY_SHA512" ]; 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 pcre-dev zlib-dev linux-headers libxslt-dev gd-dev geoip-dev perl-dev libedit-dev bash alpine-sdk findutils && 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=\"f917c27702aa89cda46878fc80d446839c592c43ce7f251b3f4ced60c7033d34496a92d283927225d458cbc4f2f89499e7fb16344923317cd7725ad722eaf93e *${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 all && apk index -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 .build-deps && apk add -X ${tempDir}/packages/alpine/ --no-cache $nginxPackages ;; esac && apk del .checksum-deps && if [ -n "$tempDir" ]; then rm -rf "$tempDir"; fi && if [ -n "/etc/apk/keys/abuild-key.rsa.pub" ]; then rm -f /etc/apk/keys/abuild-key.rsa.pub; fi && if [ -n "/etc/apk/keys/nginx_signing.rsa.pub" ]; then rm -f /etc/apk/keys/nginx_signing.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 .gettext && mv /tmp/envsubst /usr/local/bin/ && apk add --no-cache tzdata && apk add --no-cache curl ca-certificates && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d
0.00B 2021-11-13 13:02:22 /bin/sh -c #(nop) ENV PKG_RELEASE=1
0.00B 2021-11-13 13:02:22 /bin/sh -c #(nop) ENV NJS_VERSION=0.7.0
0.00B 2021-11-13 13:02:22 /bin/sh -c #(nop) ENV NGINX_VERSION=1.21.4
0.00B 2021-11-13 13:02:22 /bin/sh -c #(nop) LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
0.00B 2021-11-13 01:19:45 /bin/sh -c #(nop) CMD ["/bin/sh"]
5.61MB 2021-11-13 01:19:44 /bin/sh -c #(nop) ADD file:762c899ec0505d1a32930ee804c5b008825f41611161be104076cba33b7e5b2b in /

镜像信息

{
    "Id": "sha256:b46db85084b80a87b94cc930a74105b74763d0175e14f5913ea5b07c312870f8",
    "RepoTags": [
        "nginx:1.21.4-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.21.4-alpine"
    ],
    "RepoDigests": [
        "nginx@sha256:12aa12ec4a8ca049537dd486044b966b0ba6cd8890c4c900ccb5e7e630e03df0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx@sha256:f51b557cbb5e8dfd8c5e416ae74b58fe823efe52d9f9fed3f229521844a509e2"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-11-13T05:02:36.300109075Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.7",
    "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.21.4",
            "NJS_VERSION=0.7.0",
            "PKG_RELEASE=1"
        ],
        "Cmd": [
            "nginx",
            "-g",
            "daemon off;"
        ],
        "Image": "sha256:7b6872aacae3c043cf673e2af6e25df177180236b2ed3ba6be9d75185f37f628",
        "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": 23195244,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/40f0d77d23ba5ecb251b3cb49aa127626cec00be4ca5c63612a063a054e2f2a0/diff:/var/lib/docker/overlay2/4ef9eea241d965531fe5b3cd51e955f309bfa729916e4925b4ea9d991c58bb58/diff:/var/lib/docker/overlay2/2a4b72e347766dc92b3487bbb2b7b418fe8b2f4e9b388392e0c1ed25e6e58fc0/diff:/var/lib/docker/overlay2/b3568f1432820983e7b152472bdc72426963cceeb48f2b7babc9dace1d1541b6/diff:/var/lib/docker/overlay2/025618464a7dbb0a16d47711391c394a750009d1c84ff668fb2d51f05df414e8/diff",
            "MergedDir": "/var/lib/docker/overlay2/1b1518ca3e8100d02dfd2a1964623c85bbb05a52920efa28173ee04d60c6feae/merged",
            "UpperDir": "/var/lib/docker/overlay2/1b1518ca3e8100d02dfd2a1964623c85bbb05a52920efa28173ee04d60c6feae/diff",
            "WorkDir": "/var/lib/docker/overlay2/1b1518ca3e8100d02dfd2a1964623c85bbb05a52920efa28173ee04d60c6feae/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1a058d5342cc722ad5439cacae4b2b4eedde51d8fe8800fcf28444302355c16d",
            "sha256:ad93babfd60c3875e2a7ec89948ba366ec4c1e842b62f6a837471b120b25d844",
            "sha256:5af959103b901c3e40ecdcdf25b2837bcc96a7c865e1d9f90c347320a761f69c",
            "sha256:385374b911f2e7a97dd50c5a88a23cead5c5b01624cc31850858012020013610",
            "sha256:eabae5075c43aa962e48a05d399084335688e8c4165f8577e27d0a0232601cfe",
            "sha256:3d71b657b020afb4f390f6f81cf4c19d238aa669eadb658c2af79114ca13aa7a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-21T17:38:58.115255673+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
549

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
3555

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
1198

docker.io/nginx:stable

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

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
570

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
497

docker.io/nginx:1.20.2-alpine

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

docker.io/nginx:1.25.2-alpine

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

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
1773

docker.io/nginx:1.26.2

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

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
171

docker.io/nginx:1.27-alpine-perl

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

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
143

docker.io/nginx:1.23.2

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

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
594

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
246

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
179

docker.io/nginx:1.27.2-alpine

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

docker.io/nginx:1.27.2

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

docker.io/nginx:1.27.2-perl

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

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
24

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