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

docker.io/nginx:1.20.2-alpine - 国内下载镜像源 浏览次数:189
nginx镜像用于运行Nginx Web 服务器。
源镜像 docker.io/nginx:1.20.2-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.20.2-alpine
镜像ID sha256:6cf0c840a5a456151810814231943a691d54afc5ee58a2e447d5f259e5e23ab2
镜像TAG 1.20.2-alpine
大小 23.16MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 189 次
贡献者 he***y@139.com
镜像创建 2022-05-17T22:37:53.699922729Z
同步时间 2024-07-28 09:09
更新时间 2024-11-20 09:46
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.20.2 NJS_VERSION=0.7.3 PKG_RELEASE=1
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-05-18 06:37:53 /bin/sh -c #(nop) CMD ["nginx" "-g" "daemon off;"]
0.00B 2022-05-18 06:37:53 /bin/sh -c #(nop) STOPSIGNAL SIGQUIT
0.00B 2022-05-18 06:37:53 /bin/sh -c #(nop) EXPOSE 80
0.00B 2022-05-18 06:37:53 /bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh"]
4.61KB 2022-05-18 06:37:53 /bin/sh -c #(nop) COPY file:09a214a3e07c919af2fb2d7c749ccbc446b8c10eb217366e5a65640ee9edcc25 in /docker-entrypoint.d
1.04KB 2022-05-18 06:37:53 /bin/sh -c #(nop) COPY file:0fd5fca330dcd6a7de297435e32af634f29f7132ed0550d342cad9fd20158258 in /docker-entrypoint.d
1.96KB 2022-05-18 06:37:53 /bin/sh -c #(nop) COPY file:0b866ff3fc1ef5b03c4e6c8c513ae014f691fb05d530257dfffd07035c1b75da in /docker-entrypoint.d
1.20KB 2022-05-18 06:37:52 /bin/sh -c #(nop) COPY file:65504f71f5855ca017fb64d502ce873a31b2e0decd75297a8fb0a287f97acf92 in /
17.56MB 2022-05-18 06:37:52 /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/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/689.tar.gz && PKGOSSCHECKSUM=\"b3cb5de3d22b4db2ab478e60469638e1935cb91c20405e33bdbf7303766278cf864bace62f95ef40f4fe39e92731f53ce1c4a18192ec7f7820f4083cd9384116 *689.tar.gz\" && if [ \"\$(openssl sha512 -r 689.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then echo \"pkg-oss tarball checksum verification succeeded!\"; else echo \"pkg-oss tarball checksum verification failed!\"; exit 1; fi && tar xzvf 689.tar.gz && cd pkg-oss-689 && 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 2022-05-18 06:37:44 /bin/sh -c #(nop) ENV PKG_RELEASE=1
0.00B 2022-05-18 06:37:44 /bin/sh -c #(nop) ENV NJS_VERSION=0.7.3
0.00B 2022-04-05 15:22:22 /bin/sh -c #(nop) ENV NGINX_VERSION=1.20.2
0.00B 2022-04-05 15:22:21 /bin/sh -c #(nop) LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
0.00B 2022-04-05 08:20:08 /bin/sh -c #(nop) CMD ["/bin/sh"]
5.59MB 2022-04-05 08:20:08 /bin/sh -c #(nop) ADD file:b9eae64dc6ab27fdaa048b7cda06fcb5c7655e1b327e098e2775d095cb657b01 in /

镜像信息

{
    "Id": "sha256:6cf0c840a5a456151810814231943a691d54afc5ee58a2e447d5f259e5e23ab2",
    "RepoTags": [
        "nginx:1.20.2-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.20.2-alpine"
    ],
    "RepoDigests": [
        "nginx@sha256:016789c9a2d021b2dcb5e1c724c75ab0a57cc4e8cd7aab7bb28e69fec7c8c4fc",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx@sha256:4622b43aaf724632cfb2d192b781668da20af49d13c240281f97733cdd722f4a"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-05-17T22:37:53.699922729Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "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.20.2",
            "NJS_VERSION=0.7.3",
            "PKG_RELEASE=1"
        ],
        "Cmd": [
            "nginx",
            "-g",
            "daemon off;"
        ],
        "Image": "sha256:4e5748a220f3628c93a4a91dd886f7ded0a9652e56e14bf8ab6cbe7e1e82a7a0",
        "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": 23162861,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2e2ddb5e54cdc4403a5ac50369847bb946ae0e1a0c7c76de2cba356eb5932567/diff:/var/lib/docker/overlay2/128aa178a9e5e201e54c600f7ab7fb417d08c1f8947396796c7b9f2e1eaa31c3/diff:/var/lib/docker/overlay2/cbad5c5beccc1d09dda949c0200e287a42fd718868d56cbdee65db89ac1546a0/diff:/var/lib/docker/overlay2/62b9b579efe3c8adcc79020d5beee44d7bab105f7a54c49e57ad3ddc6fbe22ce/diff:/var/lib/docker/overlay2/10402d67639b68a0468b9b609f40f82853640d4910e90082f9f6272466af4430/diff",
            "MergedDir": "/var/lib/docker/overlay2/f47042371a38faa380705a78a4272c2dddf224cf1f74497780a3f8ee059c3169/merged",
            "UpperDir": "/var/lib/docker/overlay2/f47042371a38faa380705a78a4272c2dddf224cf1f74497780a3f8ee059c3169/diff",
            "WorkDir": "/var/lib/docker/overlay2/f47042371a38faa380705a78a4272c2dddf224cf1f74497780a3f8ee059c3169/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:b541d28bf3b491aeb424c61353c8c92476ecc2cd603a6c09ee5c2708f1a4b258",
            "sha256:73e72459bfe3d9fd81413680ef4e6061dde9c3592d9ffce1c0b4100f7684f881",
            "sha256:27e9ed2602d4427ee5e47f643814a5688e9db338dc50e2c76d689b3c008c7dc5",
            "sha256:68aa52488b502fc6b86862d3d01a15a4aad20f6987fa132f41b55b33597879a8",
            "sha256:956432f9d2d2975779e95b5bb04166c31fa9743919513da2085621ae0cb9570e",
            "sha256:3400b427ca31a29e12e59dadb6fa907006beced38239b6581d75ea9e4f1b8a76"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-07-28T09:09:46.959883739+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
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
1197

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
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
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
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
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
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
272

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