docker.io/apache/kafka:3.9.0 linux/amd64

docker.io/apache/kafka:3.9.0 - 国内下载镜像源 浏览次数:41 安全受验证的发布者-apache

Apache Kafka 镜像

这是一个 Apache Kafka 的 Docker 镜像,由 Apache 软件基金会官方发布。它提供了一个简单易用的方式来运行 Kafka 集群,用于构建实时数据管道和流式处理应用程序。

该镜像包含了所有必要的依赖项和配置,您可以轻松地启动 Kafka 集群并开始使用。它支持多种 Kafka 版本,并提供了丰富的功能,包括:

  • 消息发布和订阅
  • 主题和分区管理
  • 消费者组管理
  • 消息压缩和加密
  • 安全性和身份验证

使用这个镜像可以帮助您快速搭建 Kafka 环境,并专注于构建您的应用程序。

源镜像 docker.io/apache/kafka:3.9.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka:3.9.0
镜像ID sha256:2956061ba5d3388af8eb3148200f385ccba13ef75bc0eb6dcca5827ebd2d36d4
镜像TAG 3.9.0
大小 404.41MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /etc/kafka/docker/run
启动入口 /__cacert_entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 41 次
贡献者
镜像创建 2024-10-26T22:22:16.402925795Z
同步时间 2024-11-09 21:27
更新时间 2024-11-23 14:05
开放端口
9092/tcp
环境变量
PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin JAVA_HOME=/opt/java/openjdk LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 JAVA_VERSION=jdk-21.0.5+11
镜像标签
Apache Kafka: maintainer 2024-10-26: org.label-schema.build-date Apache Kafka: org.label-schema.description kafka: org.label-schema.name https://github.com/apache/kafka: org.label-schema.vcs-url
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.20.3 扫描引擎: Trivy 扫描时间: 2024-11-09 21:29

低危漏洞:0 中危漏洞:2 高危漏洞:0 严重漏洞:0

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka:3.9.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka:3.9.0  docker.io/apache/kafka:3.9.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka:3.9.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka:3.9.0  docker.io/apache/kafka:3.9.0

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-10-27 06:22:16 CMD ["/etc/kafka/docker/run"]
0.00B 2024-10-27 06:22:16 VOLUME [/etc/kafka/secrets /var/lib/kafka/data /mnt/shared/config]
0.00B 2024-10-27 06:22:16 USER appuser
3.27KB 2024-10-27 06:22:16 COPY --chown=appuser:appuser launch /etc/kafka/docker/launch # buildkit
7.92KB 2024-10-27 06:22:16 COPY --chown=appuser:appuser resources/common-scripts /etc/kafka/docker # buildkit
15.22MB 2024-10-27 06:22:16 COPY storage.jsa /opt/kafka/storage.jsa # buildkit
47.12MB 2024-10-27 06:22:16 COPY kafka.jsa /opt/kafka/kafka.jsa # buildkit
132.38MB 2024-10-27 06:21:53 RUN |2 kafka_url=https://dist.apache.org/repos/dist/dev/kafka/3.9.0-rc5/kafka_2.13-3.9.0.tgz build_date=2024-10-26 /bin/sh -c set -eux ; apk update ; apk upgrade ; apk add --no-cache wget gcompat gpg gpg-agent procps bash; mkdir opt/kafka; wget -nv -O kafka.tgz "$kafka_url"; wget -nv -O kafka.tgz.asc "$kafka_url.asc"; tar xfz kafka.tgz -C /opt/kafka --strip-components 1; wget -nv -O KEYS https://downloads.apache.org/kafka/KEYS; gpg --import KEYS; gpg --batch --verify kafka.tgz.asc kafka.tgz; mkdir -p /var/lib/kafka/data /etc/kafka/secrets; mkdir -p /etc/kafka/docker /usr/logs /mnt/shared/config; adduser -h /home/appuser -D --shell /bin/bash appuser; chown appuser:appuser -R /usr/logs /opt/kafka /mnt/shared/config; chown appuser:root -R /var/lib/kafka /etc/kafka/secrets /etc/kafka; chmod -R ug+w /etc/kafka /var/lib/kafka /etc/kafka/secrets; cp /opt/kafka/config/log4j.properties /etc/kafka/docker/log4j.properties; cp /opt/kafka/config/tools-log4j.properties /etc/kafka/docker/tools-log4j.properties; cp /opt/kafka/config/kraft/server.properties /etc/kafka/docker/server.properties; rm kafka.tgz kafka.tgz.asc KEYS; apk del wget gpg gpg-agent; apk cache clean; # buildkit
0.00B 2024-10-27 06:21:53 LABEL org.label-schema.name=kafka org.label-schema.description=Apache Kafka org.label-schema.build-date=2024-10-26 org.label-schema.vcs-url=https://github.com/apache/kafka maintainer=Apache Kafka
0.00B 2024-10-27 06:21:53 ARG build_date=2024-10-26
0.00B 2024-10-27 06:21:53 ARG kafka_url=https://dist.apache.org/repos/dist/dev/kafka/3.9.0-rc5/kafka_2.13-3.9.0.tgz
0.00B 2024-10-27 06:21:53 USER root
0.00B 2024-10-27 06:21:53 EXPOSE map[9092/tcp:{}]
0.00B 2024-10-23 23:41:32 ENTRYPOINT ["/__cacert_entrypoint.sh"]
5.31KB 2024-10-23 23:41:32 COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
0.00B 2024-10-23 23:41:32 RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
163.71MB 2024-10-23 23:41:32 RUN /bin/sh -c set -eux; ARCH="$(apk --print-arch)"; case "${ARCH}" in aarch64) ESUM='12b988a3d934e3eb89c6a981a93f8e2adf0a62cc9030487dee76c0c29b93714d'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_aarch64_alpine-linux_hotspot_21.0.5_11.tar.gz'; ;; x86_64) ESUM='2dfa33fb8e9474e6967c6cf17964abb5ddce9c17fa6a9f8d7aa221a0ae295df9'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.5%2B11/OpenJDK21U-jre_x64_alpine-linux_hotspot_21.0.5_11.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -r "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/lib/src.zip; # buildkit
0.00B 2024-10-23 23:41:32 ENV JAVA_VERSION=jdk-21.0.5+11
38.16MB 2024-10-23 23:41:32 RUN /bin/sh -c set -eux; apk add --no-cache fontconfig ttf-dejavu gnupg ca-certificates p11-kit-trust musl-locales musl-locales-lang tzdata coreutils openssl ; rm -rf /var/cache/apk/* # buildkit
0.00B 2024-10-23 23:41:32 ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
0.00B 2024-10-23 23:41:32 ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-10-23 23:41:32 ENV JAVA_HOME=/opt/java/openjdk
0.00B 2024-09-07 06:20:07 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-09-07 06:20:07 /bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /

镜像信息

{
    "Id": "sha256:2956061ba5d3388af8eb3148200f385ccba13ef75bc0eb6dcca5827ebd2d36d4",
    "RepoTags": [
        "apache/kafka:3.9.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka:3.9.0"
    ],
    "RepoDigests": [
        "apache/kafka@sha256:fbc7d7c428e3755cf36518d4976596002477e4c052d1f80b5b9eafd06d0fff2f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka@sha256:914da343fdf1764159e131de22f1b266e2e5abb5cb70570b31b9322e6c723943"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-26T22:22:16.402925795Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "appuser",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "9092/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "JAVA_HOME=/opt/java/openjdk",
            "LANG=en_US.UTF-8",
            "LANGUAGE=en_US:en",
            "LC_ALL=en_US.UTF-8",
            "JAVA_VERSION=jdk-21.0.5+11"
        ],
        "Cmd": [
            "/etc/kafka/docker/run"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/etc/kafka/secrets": {},
            "/mnt/shared/config": {},
            "/var/lib/kafka/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "/__cacert_entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "Apache Kafka",
            "org.label-schema.build-date": "2024-10-26",
            "org.label-schema.description": "Apache Kafka",
            "org.label-schema.name": "kafka",
            "org.label-schema.vcs-url": "https://github.com/apache/kafka"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 404405430,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9687da3c64179ce3c4b852d8c287d89a8fa0aa89ec70697938ff9a91314e7ae5/diff:/var/lib/docker/overlay2/6f51c53f5e3a4ee41739bdd1c4a78bbec75d4877be075627a75fa5ad15468f2b/diff:/var/lib/docker/overlay2/fa783cf14157418ea2934d7ebfa3270abe291914f8a8aa0e7d12d4106d9188a8/diff:/var/lib/docker/overlay2/25e70348b4a86249282475610672e264cee9c9996ecb93cb8a4f3197b8e44269/diff:/var/lib/docker/overlay2/be028dce4c9672f330111bf2be0187746cf9f07cbf273066796498b4a5293b83/diff:/var/lib/docker/overlay2/8523e5b22cfe436fd63ee46aad0b0fcd4ab760414c0f6ee3212e8f1729aa0d9b/diff:/var/lib/docker/overlay2/51e6d186bcc04c822f52a63333b2bf64203e4c8bef3f9c822bd21876b5ed0512/diff:/var/lib/docker/overlay2/8cf3f21666d112258e81982a26958911ef6f7e66ae7058274649ea68713d7528/diff:/var/lib/docker/overlay2/56dbc2212cbc9b991b1a93a72a8c08a3a8460c06576fe4f3267009446334aa65/diff",
            "MergedDir": "/var/lib/docker/overlay2/640464b90cbfe046af61dd4dbb366b8b37eb153fc1c2660b6e9cb28c8c6f0c5f/merged",
            "UpperDir": "/var/lib/docker/overlay2/640464b90cbfe046af61dd4dbb366b8b37eb153fc1c2660b6e9cb28c8c6f0c5f/diff",
            "WorkDir": "/var/lib/docker/overlay2/640464b90cbfe046af61dd4dbb366b8b37eb153fc1c2660b6e9cb28c8c6f0c5f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:63ca1fbb43ae5034640e5e6cb3e083e05c290072c5366fcaa9d62435a4cced85",
            "sha256:d142d98bfb044a6a595d250d311ab84a450fa9a98df427c6b45e2bc3852c1674",
            "sha256:7eb4ed3558a9e31f83d631267348a3ed473e80c7830e485da244514241c9d1b3",
            "sha256:ee8a4492bd0fbe8542e97993b3d9d7e468c0891d45420bc99d171480403b8c27",
            "sha256:9c99ee358d0771ab5f12fff79f539f6d02776da8779f56afa6cd671b14aa6d65",
            "sha256:a28e2024fcf2c179d043b5b58fe524a9fb270fc48553922b41c03abc8ce31f6b",
            "sha256:ced6076836aae541bb9cb2de3fcfbf81dd35ce97f5d5795cdefac2e33833747b",
            "sha256:0ace89838c8c92f08c40fa3e13e730e9dd10d74f8f1556e2eedbfe8436d8cba5",
            "sha256:9885a61649102f8e8032a47c4c9b4541fea949233f83f351e63ea181d732f6fd",
            "sha256:32be16ff8b8f057e611e0585e731fd7a138907912faec4215597810843ed0d61"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-09T21:26:55.691201381+08:00"
    }
}

更多版本

docker.io/apache/kafka:3.8.0

linux/amd64 docker.io382.14MB2024-09-24 15:18
272

docker.io/apache/kafka:3.9.0

linux/amd64 docker.io404.41MB2024-11-09 21:27
40