docker.io/nginx:1.21.6 linux/amd64

docker.io/nginx:1.21.6 - 国内下载镜像源 浏览次数:73
nginx镜像用于运行Nginx Web 服务器。
源镜像 docker.io/nginx:1.21.6
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.21.6
镜像ID sha256:0e901e68141fd02f237cf63eb842529f8a9500636a9419e3cf4fb986b8fe3d5d
镜像TAG 1.21.6
大小 141.53MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD nginx -g daemon off;
启动入口 /docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 73 次
贡献者
镜像创建 2022-05-28T05:41:03.228946845Z
同步时间 2024-11-22 15:08
更新时间 2025-01-16 12:43
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NGINX_VERSION=1.21.6 NJS_VERSION=0.7.3 PKG_RELEASE=1~bullseye
镜像标签
NGINX Docker Maintainers <docker-maint@nginx.com>: maintainer
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.3 扫描引擎: Trivy 扫描时间: 2024-11-22 15:09

低危漏洞:135 中危漏洞:160 高危漏洞:110 严重漏洞:25

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2022-05-28 13:41:03  0.00B 
/bin/sh -c #(nop)  CMD ["nginx" "-g" "daemon off;"]
                        
# 2022-05-28 13:41:03  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGQUIT
                        
# 2022-05-28 13:41:03  0.00B 
/bin/sh -c #(nop)  EXPOSE 80
                        
# 2022-05-28 13:41:02  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["/docker-entrypoint.sh"]
                        
# 2022-05-28 13:41:02  4.61KB 
/bin/sh -c #(nop) COPY file:09a214a3e07c919af2fb2d7c749ccbc446b8c10eb217366e5a65640ee9edcc25 in /docker-entrypoint.d 
                        
# 2022-05-28 13:41:02  1.04KB 
/bin/sh -c #(nop) COPY file:0fd5fca330dcd6a7de297435e32af634f29f7132ed0550d342cad9fd20158258 in /docker-entrypoint.d 
                        
# 2022-05-28 13:41:02  1.96KB 
/bin/sh -c #(nop) COPY file:0b866ff3fc1ef5b03c4e6c8c513ae014f691fb05d530257dfffd07035c1b75da in /docker-entrypoint.d 
                        
# 2022-05-28 13:41:02  1.20KB 
/bin/sh -c #(nop) COPY file:65504f71f5855ca017fb64d502ce873a31b2e0decd75297a8fb0a287f97acf92 in / 
                        
# 2022-05-28 13:41:02  61.11MB 
/bin/sh -c set -x     && addgroup --system --gid 101 nginx     && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx     && apt-get update     && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates     &&     NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62;     found='';     for server in         hkp://keyserver.ubuntu.com:80         pgp.mit.edu     ; do         echo "Fetching GPG key $NGINX_GPGKEY from $server";         apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break;     done;     test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1;     apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/*     && dpkgArch="$(dpkg --print-architecture)"     && nginxPackages="         nginx=${NGINX_VERSION}-${PKG_RELEASE}         nginx-module-xslt=${NGINX_VERSION}-${PKG_RELEASE}         nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE}         nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE}         nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE}     "     && case "$dpkgArch" in         amd64|arm64)             echo "deb https://nginx.org/packages/mainline/debian/ bullseye nginx" >> /etc/apt/sources.list.d/nginx.list             && apt-get update             ;;         *)             echo "deb-src https://nginx.org/packages/mainline/debian/ bullseye nginx" >> /etc/apt/sources.list.d/nginx.list                         && tempDir="$(mktemp -d)"             && chmod 777 "$tempDir"                         && savedAptMark="$(apt-mark showmanual)"                         && apt-get update             && apt-get build-dep -y $nginxPackages             && (                 cd "$tempDir"                 && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)"                     apt-get source --compile $nginxPackages             )                         && apt-mark showmanual | xargs apt-mark auto > /dev/null             && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; }                         && ls -lAFh "$tempDir"             && ( cd "$tempDir" && dpkg-scanpackages . > Packages )             && grep '^Package: ' "$tempDir/Packages"             && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list             && apt-get -o Acquire::GzipIndexes=false update             ;;     esac         && apt-get install --no-install-recommends --no-install-suggests -y                         $nginxPackages                         gettext-base                         curl     && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list         && if [ -n "$tempDir" ]; then         apt-get purge -y --auto-remove         && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list;     fi     && ln -sf /dev/stdout /var/log/nginx/access.log     && ln -sf /dev/stderr /var/log/nginx/error.log     && mkdir /docker-entrypoint.d
                        
# 2022-05-28 13:40:44  0.00B 
/bin/sh -c #(nop)  ENV PKG_RELEASE=1~bullseye
                        
# 2022-05-28 13:40:44  0.00B 
/bin/sh -c #(nop)  ENV NJS_VERSION=0.7.3
                        
# 2022-05-28 13:40:43  0.00B 
/bin/sh -c #(nop)  ENV NGINX_VERSION=1.21.6
                        
# 2022-05-28 13:40:43  0.00B 
/bin/sh -c #(nop)  LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
                        
# 2022-05-28 09:20:23  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2022-05-28 09:20:23  80.41MB 
/bin/sh -c #(nop) ADD file:134f25aec8adf83cb940ba073a3409ca85dbb5ae592b704f95193e7d2539a3bc in / 
                        
                    

镜像信息

{
    "Id": "sha256:0e901e68141fd02f237cf63eb842529f8a9500636a9419e3cf4fb986b8fe3d5d",
    "RepoTags": [
        "nginx:1.21.6",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.21.6"
    ],
    "RepoDigests": [
        "nginx@sha256:2bcabc23b45489fb0885d69a06ba1d648aeda973fae7bb981bafbb884165e514",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx@sha256:25dedae0aceb6b4fe5837a0acbacc6580453717f126a095aa05a3c6fcea14dd4"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-05-28T05:41:03.228946845Z",
    "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.21.6",
            "NJS_VERSION=0.7.3",
            "PKG_RELEASE=1~bullseye"
        ],
        "Cmd": [
            "nginx",
            "-g",
            "daemon off;"
        ],
        "Image": "sha256:84a2e27303200422deb89ae538dbbc442ac0ffa72c7be4d6f1d3b4bd32dcd451",
        "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": 141526528,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/00e4aa4737db30474a6202495888cea255d24f484f2b02c6e8fe5338a65a0794/diff:/var/lib/docker/overlay2/963c254c0597009ece665e3b62ca12b1a1e72d468b2a33840fc524f3259ae1d7/diff:/var/lib/docker/overlay2/23278f32376befc7bb65c7334d5420f7ce86723382890b18014f13c02527fa42/diff:/var/lib/docker/overlay2/7343a19185f346170b5a4d07c48ce72934202c49354575f7eb11579ed11174bd/diff:/var/lib/docker/overlay2/496811c7f4f9c92120fd691cbbdd24cd1aa0c2dc193c7f76ec9ab15ad5fd69cf/diff",
            "MergedDir": "/var/lib/docker/overlay2/8d4daddfc817aafdcb403b672b2ae505108adbd0241e1ddb0eb2da306d65b137/merged",
            "UpperDir": "/var/lib/docker/overlay2/8d4daddfc817aafdcb403b672b2ae505108adbd0241e1ddb0eb2da306d65b137/diff",
            "WorkDir": "/var/lib/docker/overlay2/8d4daddfc817aafdcb403b672b2ae505108adbd0241e1ddb0eb2da306d65b137/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:ad6562704f3759fb50f0d3de5f80a38f65a85e709b77fd24491253990f30b6be",
            "sha256:58354abe5f0e9e8cf3849a697cd86bfefb8448b9deb74e3d13aa3e4c98dd3665",
            "sha256:53ae81198b641f2911dfc469313edde2fe690bf230efaa823a4aa836d08336e0",
            "sha256:57d3fc88cb3f95fe3daac8591dabe1c161af0fcfd4cf099aa3f994c888ac7877",
            "sha256:747b7a567071ddb822a072c4dadc2ef50ef6d1bf35ce477e9a559f1df1b7c571",
            "sha256:33e3df466e11254954ba3b06301c93c066a1f699e2ddd80f0214340236d57935"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-22T15:08:05.539520927+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
772

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
4276

docker.io/nginx:alpine

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

docker.io/nginx:1.26.1-alpine

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

docker.io/nginx:stable

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

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
1009

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
325

docker.io/nginx:alpine

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

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
279

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
2445

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
258

docker.io/nginx:1.26.2-alpine

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

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
194

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
416

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
253

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
67

docker.io/nginx:1.26

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

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
79

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
60

docker.io/nginx:1.27.3-alpine

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

docker.io/nginx:stable-alpine-perl

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

docker.io/nginx:alpine-slim

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

docker.io/nginx:1.19.2-alpine

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

docker.io/nginx:1.25.2

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

docker.io/nginx:1.25.1

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

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

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

docker.io/nginx/nginx-ingress:3.7.0

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

docker.io/nginx:1.26.0

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

docker.io/nginxinc/nginx-unprivileged:perl

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

docker.io/nginx:latest

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

docker.io/nginx:1.27.0

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

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

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