k8s.gcr.io/ingress-nginx/controller:v0.40.2 linux/amd64

k8s.gcr.io/ingress-nginx/controller:v0.40.2 - 国内下载镜像源 浏览次数:25 安全受验证的发布者-Kubernetes
**镜像名称:** k8s.gcr.io/ingress-nginx/controller **镜像描述:**

Nginx Ingress Controller 是一个基于 Kubernetes 的反向代理服务器。

它能够将 incoming HTTP 请求路由到正确的服务中,实现负载均衡和高可用性。该镜像包含了 Nginx 服务器和相关配置文件,可以直接在 Kubernetes 集群中使用。

通过使用这个镜像,你可以轻松地在你的 Kubernetes 环境中部署和管理 Nginx Ingress Controller,实现更好的网络访问和负载均衡。

源镜像 k8s.gcr.io/ingress-nginx/controller:v0.40.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/ingress-nginx/controller:v0.40.2
镜像ID sha256:4b26fa2d90ae3bd47a8b9b49cf6a49cf195234ed32e4e0fef4787cd679218ff4
镜像TAG v0.40.2
大小 285.70MB
镜像源 k8s.gcr.io
CMD /nginx-ingress-controller
启动入口 /usr/bin/dumb-init --
工作目录 /etc/nginx
OS/平台 linux/amd64
浏览量 25 次
贡献者
镜像创建 2020-10-06T13:08:44.756055802Z
同步时间 2024-11-13 17:26
更新时间 2024-11-21 05:19
开放端口
443/tcp 80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin LUA_PATH=/usr/local/share/luajit-2.1.0-beta3/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/lib/lua/?.lua;; LUA_CPATH=/usr/local/lib/lua/?/?.so;/usr/local/lib/lua/?.so;;
镜像标签
94f50f2f-fdc2-4beb-a668-751fb05ea72c: build_id https://kubernetes.github.io/ingress-nginx/: org.opencontainers.image.documentation Apache-2.0: org.opencontainers.image.licenses fc4ccc5eb0e41be2436a978b01477fc354f31643: org.opencontainers.image.revision https://github.com/kubernetes/ingress-nginx: org.opencontainers.image.source NGINX Ingress Controller for Kubernetes: org.opencontainers.image.title The Kubernetes Authors: org.opencontainers.image.vendor v0.40.2: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.11.6 扫描引擎: Trivy 扫描时间: 2024-11-13 17:26

低危漏洞:16 中危漏洞:128 高危漏洞:192 严重漏洞:20

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/ingress-nginx/controller:v0.40.2
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/ingress-nginx/controller:v0.40.2  k8s.gcr.io/ingress-nginx/controller:v0.40.2

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/ingress-nginx/controller:v0.40.2
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/ingress-nginx/controller:v0.40.2  k8s.gcr.io/ingress-nginx/controller:v0.40.2

Shell快速替换命令

sed -i 's#k8s.gcr.io/ingress-nginx/controller:v0.40.2#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/ingress-nginx/controller:v0.40.2#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/ingress-nginx/controller:v0.40.2 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/ingress-nginx/controller:v0.40.2  k8s.gcr.io/ingress-nginx/controller:v0.40.2'

镜像历史

大小 创建时间 层信息
0.00B 2020-10-06 21:08:44 CMD ["/nginx-ingress-controller"]
0.00B 2020-10-06 21:08:44 ENTRYPOINT ["/usr/bin/dumb-init" "--"]
22.00B 2020-10-06 21:08:44 RUN |4 TARGETARCH=amd64 VERSION=v0.40.2 COMMIT_SHA=fc4ccc5eb0e41be2436a978b01477fc354f31643 BUILD_ID=94f50f2f-fdc2-4beb-a668-751fb05ea72c /bin/sh -c ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log # buildkit
0.00B 2020-10-06 21:08:44 USER www-data
54.18MB 2020-10-06 21:08:44 RUN |4 TARGETARCH=amd64 VERSION=v0.40.2 COMMIT_SHA=fc4ccc5eb0e41be2436a978b01477fc354f31643 BUILD_ID=94f50f2f-fdc2-4beb-a668-751fb05ea72c /bin/sh -c apk add --no-cache libcap && setcap cap_net_bind_service=+ep /nginx-ingress-controller && setcap -v cap_net_bind_service=+ep /nginx-ingress-controller && setcap cap_net_bind_service=+ep /usr/local/nginx/sbin/nginx && setcap -v cap_net_bind_service=+ep /usr/local/nginx/sbin/nginx && apk del libcap # buildkit
0.00B 2020-10-06 21:08:42 RUN |4 TARGETARCH=amd64 VERSION=v0.40.2 COMMIT_SHA=fc4ccc5eb0e41be2436a978b01477fc354f31643 BUILD_ID=94f50f2f-fdc2-4beb-a668-751fb05ea72c /bin/sh -c bash -xeu -c ' writeDirs=( /etc/ingress-controller /etc/ingress-controller/ssl /etc/ingress-controller/auth /var/log /var/log/nginx ); for dir in "${writeDirs[@]}"; do mkdir -p ${dir}; chown -R www-data.www-data ${dir}; done' # buildkit
3.07MB 2020-10-06 21:08:41 COPY bin/amd64/wait-shutdown / # buildkit
38.72MB 2020-10-06 21:08:41 COPY bin/amd64/nginx-ingress-controller / # buildkit
6.55MB 2020-10-06 21:08:41 COPY bin/amd64/dbg / # buildkit
1.78KB 2020-10-06 21:08:41 COPY ingress-controller /ingress-controller # buildkit
226.90KB 2020-10-06 21:08:41 COPY etc /etc # buildkit
393.78KB 2020-10-06 21:08:41 RUN |4 TARGETARCH=amd64 VERSION=v0.40.2 COMMIT_SHA=fc4ccc5eb0e41be2436a978b01477fc354f31643 BUILD_ID=94f50f2f-fdc2-4beb-a668-751fb05ea72c /bin/sh -c apk update && apk upgrade && apk add --no-cache diffutils && rm -rf /var/cache/apk/* # buildkit
0.00B 2020-10-06 21:08:37 WORKDIR /etc/nginx
0.00B 2020-10-06 21:08:37 LABEL build_id=94f50f2f-fdc2-4beb-a668-751fb05ea72c
0.00B 2020-10-06 21:08:37 LABEL org.opencontainers.image.revision=fc4ccc5eb0e41be2436a978b01477fc354f31643
0.00B 2020-10-06 21:08:37 LABEL org.opencontainers.image.version=v0.40.2
0.00B 2020-10-06 21:08:37 LABEL org.opencontainers.image.licenses=Apache-2.0
0.00B 2020-10-06 21:08:37 LABEL org.opencontainers.image.vendor=The Kubernetes Authors
0.00B 2020-10-06 21:08:37 LABEL org.opencontainers.image.source=https://github.com/kubernetes/ingress-nginx
0.00B 2020-10-06 21:08:37 LABEL org.opencontainers.image.documentation=https://kubernetes.github.io/ingress-nginx/
0.00B 2020-10-06 21:08:37 LABEL org.opencontainers.image.title=NGINX Ingress Controller for Kubernetes
0.00B 2020-10-06 21:08:37 ARG BUILD_ID=UNSET
0.00B 2020-10-06 21:08:37 ARG COMMIT_SHA
0.00B 2020-10-06 21:08:37 ARG VERSION
0.00B 2020-10-06 21:08:37 ARG TARGETARCH
0.00B 2020-09-30 08:42:38 CMD ["nginx" "-g" "daemon off;"]
0.00B 2020-09-30 08:42:38 EXPOSE map[443/tcp:{} 80/tcp:{}]
17.41MB 2020-09-30 08:42:38 RUN /bin/sh -c apk update && apk upgrade && apk add -U --no-cache bash openssl pcre zlib geoip curl ca-certificates patch yajl lmdb libxml2 libmaxminddb yaml-cpp dumb-init nano tzdata && ln -s /usr/local/nginx/sbin/nginx /sbin/nginx && addgroup -Sg 101 www-data && adduser -S -D -H -u 101 -h /usr/local/nginx -s /sbin/nologin -G www-data -g www-data www-data && bash -eu -c ' writeDirs=( /var/log/nginx /var/lib/nginx/body /var/lib/nginx/fastcgi /var/lib/nginx/proxy /var/lib/nginx/scgi /var/lib/nginx/uwsgi /var/log/audit ); for dir in "${writeDirs[@]}"; do mkdir -p ${dir}; chown -R www-data.www-data ${dir}; done' # buildkit
37.66MB 2020-09-30 08:42:36 COPY /etc/nginx /etc/nginx # buildkit
0.00B 2020-09-30 08:42:36 COPY /opt /opt # buildkit
121.89MB 2020-09-30 08:42:36 COPY /usr/local /usr/local # buildkit
0.00B 2020-09-30 08:42:36 ENV LUA_CPATH=/usr/local/lib/lua/?/?.so;/usr/local/lib/lua/?.so;;
0.00B 2020-09-30 08:42:36 ENV LUA_PATH=/usr/local/share/luajit-2.1.0-beta3/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/lib/lua/?.lua;;
0.00B 2020-09-30 08:42:36 ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin
0.00B 2020-04-24 09:05:03 /bin/sh -c #(nop) CMD ["/bin/sh"]
5.61MB 2020-04-24 09:05:03 /bin/sh -c #(nop) ADD file:b91adb67b670d3a6ff9463e48b7def903ed516be66fc4282d22c53e41512be49 in /

镜像信息

{
    "Id": "sha256:4b26fa2d90ae3bd47a8b9b49cf6a49cf195234ed32e4e0fef4787cd679218ff4",
    "RepoTags": [
        "k8s.gcr.io/ingress-nginx/controller:v0.40.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/ingress-nginx/controller:v0.40.2"
    ],
    "RepoDigests": [
        "k8s.gcr.io/ingress-nginx/controller@sha256:46ba23c3fbaafd9e5bd01ea85b2f921d9f2217be082580edc22e6c704a83f02f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/k8s.gcr.io/ingress-nginx/controller@sha256:0100c173327bbb124c76ea1511dade4cec718234c23f8e7a41f27ad03f361431"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2020-10-06T13:08:44.756055802Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "www-data",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "443/tcp": {},
            "80/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin",
            "LUA_PATH=/usr/local/share/luajit-2.1.0-beta3/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/lib/lua/?.lua;;",
            "LUA_CPATH=/usr/local/lib/lua/?/?.so;/usr/local/lib/lua/?.so;;"
        ],
        "Cmd": [
            "/nginx-ingress-controller"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/etc/nginx",
        "Entrypoint": [
            "/usr/bin/dumb-init",
            "--"
        ],
        "OnBuild": null,
        "Labels": {
            "build_id": "94f50f2f-fdc2-4beb-a668-751fb05ea72c",
            "org.opencontainers.image.documentation": "https://kubernetes.github.io/ingress-nginx/",
            "org.opencontainers.image.licenses": "Apache-2.0",
            "org.opencontainers.image.revision": "fc4ccc5eb0e41be2436a978b01477fc354f31643",
            "org.opencontainers.image.source": "https://github.com/kubernetes/ingress-nginx",
            "org.opencontainers.image.title": "NGINX Ingress Controller for Kubernetes",
            "org.opencontainers.image.vendor": "The Kubernetes Authors",
            "org.opencontainers.image.version": "v0.40.2"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 285704097,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/034009fc51aacefa85928702477f9ac99aa317d77a22a98369cf059ef55d8de5/diff:/var/lib/docker/overlay2/362a3545458613a85f8a7d77fcd920f4512b17d98b762854f0441417d4e52a99/diff:/var/lib/docker/overlay2/511f89c10602d157c81ecf6245a2b216fafab073d129127f9da1c6ec5854ca30/diff:/var/lib/docker/overlay2/70ef3a30fdf29831cd81215e870771d7403e0cdc94122c8a2361d4d2d5823adc/diff:/var/lib/docker/overlay2/b99f54e879ef8380b526c7f131200707d3796b431699d82380da19c7faca014a/diff:/var/lib/docker/overlay2/610e79409091ddad85c1aed7cf73569799bf8e417d4b7294f33083097304ca5e/diff:/var/lib/docker/overlay2/0367c3971aff5a5a24bb5e238ada23d83c7c771f0e3613e5b774e6d79377541f/diff:/var/lib/docker/overlay2/76dbd8126c6173b61298e8165ddf7a18f3213cafd38a3e56b99d52d84c3ed7ce/diff:/var/lib/docker/overlay2/4333df39004762cdd7615e1a570a8e4d0e3617ca2ce8a3ccbd3284df40219435/diff:/var/lib/docker/overlay2/45ac72ec341c0a3d987a541f9c17db2767d6f0950c56b4bbce9cfdab04dfef09/diff:/var/lib/docker/overlay2/31d01689268283e5217e7b262f0a9064971f89deacfd25145467be61c5ecf58e/diff:/var/lib/docker/overlay2/95b533146ecb9700d91ef0ca3a7a93bdc310b9a5647247d78d753eb61109468f/diff:/var/lib/docker/overlay2/6f5ccb2a33a882fbf6d1718e32ea2d6971969a2326b98f4e241bd31889021ab0/diff:/var/lib/docker/overlay2/83f5ceefa56291007c80f79ab9e75ceb706bac24cc5fc2818926af67ae12ec3b/diff",
            "MergedDir": "/var/lib/docker/overlay2/97b1e75b0cfbe9fae3d5d3f985afe8daa40a1afd47e8509d4ec5a2e61ad34e05/merged",
            "UpperDir": "/var/lib/docker/overlay2/97b1e75b0cfbe9fae3d5d3f985afe8daa40a1afd47e8509d4ec5a2e61ad34e05/diff",
            "WorkDir": "/var/lib/docker/overlay2/97b1e75b0cfbe9fae3d5d3f985afe8daa40a1afd47e8509d4ec5a2e61ad34e05/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:3e207b409db364b595ba862cdc12be96dcdad8e36c59a03b7b3b61c946a5741a",
            "sha256:31f40efaec0e2f93807c1d636476d4ce22625fb75b32bce3d19164b78260a47c",
            "sha256:b8ffd2b24ad737484dbea110b6353bb6552b1225b099de3cef99dafafed0f114",
            "sha256:99b958e2ed1b337440613e4f872f84c54693bd795431ce305c95fdeb90576bea",
            "sha256:741c74b324df32720c2c5c97f284e69e95ebe25bf812377c61d3346210c49915",
            "sha256:63266e8500b3a1a46ed4eb5c5eeb6b5aaf6921a4735873cf8c4002abcb0c33fe",
            "sha256:575d2bada494c6d8a5cf2fd47763e95e75e06ac06c845748156f3830f68fc056",
            "sha256:4ae5c97d679f2cbed7f604b19b48525aac0763b8e413e4125960ade448a50eee",
            "sha256:3bf7ce5d2ef5e78b1804cd7809f9f9e67722b2767207592a91f4742b0076a684",
            "sha256:b6e8697330c660b72b67f34a27c264e3a1e8f6a2f1d44de03f6cdee94a91073c",
            "sha256:540b11fe0fcf149ce874ea08b6e9e2522ab91230119f807f383d2219e25cebe0",
            "sha256:b566b586e178179d6f59de64102c2ac8307c4f622579871b40f69f5bf3320a97",
            "sha256:b33783aaec1cdba2395e24dd2aab02c82afd822537f1b1f31ad698039e884a4f",
            "sha256:abbe03f86fbd15df982e2457537e56d7fff295a5ba848f1e8f72f689f3202785",
            "sha256:952694afcb66f41ec710ba917c6cbda5e1fad5429efcc55f8d8ebd0f3b0f5d46"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-13T17:26:19.740217475+08:00"
    }
}

更多版本

k8s.gcr.io/ingress-nginx/controller:v1.2.0

linux/amd64 k8s.gcr.io287.85MB2024-10-14 15:10
89

k8s.gcr.io/ingress-nginx/controller:v0.51.0

linux/amd64 k8s.gcr.io285.01MB2024-10-21 17:03
77

k8s.gcr.io/ingress-nginx/controller:v1.1.1

linux/amd64 k8s.gcr.io285.34MB2024-11-13 17:03
21

k8s.gcr.io/ingress-nginx/controller:v0.40.2

linux/amd64 k8s.gcr.io285.70MB2024-11-13 17:26
24