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

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

这是一个基于 Apache Kafka 的 Docker 镜像,使用 Native 模式构建。它提供了一个预先配置好的 Kafka 集群,可以直接使用,方便用户快速部署和运行 Kafka 应用。

```
源镜像 docker.io/apache/kafka-native:3.9.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka-native:3.9.0
镜像ID sha256:48cb38499bbe0ff7e6c2df6aabf74d36658bf07ee389decf35b43cacdcb8a7b0
镜像TAG 3.9.0
大小 137.14MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /etc/kafka/docker/run
启动入口
工作目录
OS/平台 linux/amd64
浏览量 9 次
贡献者
镜像创建 2024-10-26T22:35:03.745994224Z
同步时间 2025-04-02 16:21
更新时间 2025-04-03 15:06
开放端口
9092/tcp
目录挂载
/etc/kafka/secrets /mnt/shared/config
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
镜像标签
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

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#apache/kafka-native:3.9.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka-native: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-native:3.9.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka-native:3.9.0  docker.io/apache/kafka-native: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-native:3.9.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka-native:3.9.0  docker.io/apache/kafka-native:3.9.0'

镜像构建历史


# 2024-10-27 06:35:03  0.00B 设置默认要执行的命令
CMD ["/etc/kafka/docker/run"]
                        
# 2024-10-27 06:35:03  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/etc/kafka/secrets /mnt/shared/config]
                        
# 2024-10-27 06:35:03  0.00B 指定运行容器时使用的用户
USER appuser
                        
# 2024-10-27 06:35:03  2.70KB 复制新文件或目录到容器中
COPY --chown=appuser:root launch /etc/kafka/docker/ # buildkit
                        
# 2024-10-27 06:35:03  7.92KB 复制新文件或目录到容器中
COPY --chown=appuser:root resources/common-scripts /etc/kafka/docker/ # buildkit
                        
# 2024-10-27 06:35:03  1.09KB 复制新文件或目录到容器中
COPY --chown=appuser:root /app/kafka/config/tools-log4j.properties /etc/kafka/docker/ # buildkit
                        
# 2024-10-27 06:35:03  4.92KB 复制新文件或目录到容器中
COPY --chown=appuser:root /app/kafka/config/log4j.properties /etc/kafka/docker/ # buildkit
                        
# 2024-10-27 06:35:03  6.34KB 复制新文件或目录到容器中
COPY --chown=appuser:root /app/kafka/config/kraft/server.properties /etc/kafka/docker/ # buildkit
                        
# 2024-10-27 06:35:03  124.83MB 复制新文件或目录到容器中
COPY --chown=appuser:root /app/kafka/kafka.Kafka /opt/kafka/ # buildkit
                        
# 2024-10-27 06:29:10  4.49MB 执行命令并创建新的镜像层
RUN |1 build_date=2024-10-26 /bin/sh -c apk update ;     apk add --no-cache gcompat ;     apk add --no-cache bash ;     mkdir -p /etc/kafka/docker /mnt/shared/config /opt/kafka/config /etc/kafka/secrets ;     adduser -h /home/appuser -D --shell /bin/bash appuser ;     chown appuser:root -R /etc/kafka /opt/kafka /mnt/shared/config ;     chmod -R ug+w /etc/kafka /opt/kafka /mnt/shared/config ; # buildkit
                        
# 2024-10-27 06:29:10  0.00B 添加元数据标签
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
                        
# 2024-10-27 06:29:10  0.00B 定义构建参数
ARG build_date=2024-10-26
                        
# 2024-10-27 06:29:10  0.00B 声明容器运行时监听的端口
EXPOSE map[9092/tcp:{}]
                        
# 2024-09-07 06:20:07  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2024-09-07 06:20:07  7.80MB 
/bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / 
                        
                    

镜像信息

{
    "Id": "sha256:48cb38499bbe0ff7e6c2df6aabf74d36658bf07ee389decf35b43cacdcb8a7b0",
    "RepoTags": [
        "apache/kafka-native:3.9.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka-native:3.9.0"
    ],
    "RepoDigests": [
        "apache/kafka-native@sha256:c20b97f0a3990771f52bf7855ccb9ae82ac683a357a101482ba349dfb2ae0cdb",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/apache/kafka-native@sha256:5e02eedc96e2a2a2b744c2effac0ee31971c5b7e550025d333c990eacf6188ae"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-26T22:35:03.745994224Z",
    "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=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": [
            "/etc/kafka/docker/run"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/etc/kafka/secrets": {},
            "/mnt/shared/config": {}
        },
        "WorkingDir": "",
        "Entrypoint": null,
        "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": 137140352,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/efc4f7137ed8b48335847dfe82d81e7e038ac4790dbca9fb5954cb280dbddcde/diff:/var/lib/docker/overlay2/c4c49886a6fce8153b0ca34874052d54f226ccda14e0e94e0f4b10261ccc4e5c/diff:/var/lib/docker/overlay2/d84665cdb1f380780ff4b1da230aae23cb073517ae6d7b7cba85a984d35ca5da/diff:/var/lib/docker/overlay2/a34c60cc7877df63d047809b1fe92e19021024bdaf08cb57881f634ea255461b/diff:/var/lib/docker/overlay2/9cc5defce32f3a229c3231720968358c0d3c4ebf705311cc15396728ff6ccdb8/diff:/var/lib/docker/overlay2/016824322d427ed72d1997cbdac68b4b2567c094f2f4b83d3eefc1fba7291b09/diff:/var/lib/docker/overlay2/56dbc2212cbc9b991b1a93a72a8c08a3a8460c06576fe4f3267009446334aa65/diff",
            "MergedDir": "/var/lib/docker/overlay2/5fdafaddb1810c55c2e1584748a3e112a09ba9bcd854e70739764f8780700bbc/merged",
            "UpperDir": "/var/lib/docker/overlay2/5fdafaddb1810c55c2e1584748a3e112a09ba9bcd854e70739764f8780700bbc/diff",
            "WorkDir": "/var/lib/docker/overlay2/5fdafaddb1810c55c2e1584748a3e112a09ba9bcd854e70739764f8780700bbc/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:63ca1fbb43ae5034640e5e6cb3e083e05c290072c5366fcaa9d62435a4cced85",
            "sha256:c321eb15aaf82816d3841777785d755350e05687767cbda559b5b493723fdf8d",
            "sha256:2e7b4216fe215223149bea7e4ba95efae911f20ef63876c0f44604198281f441",
            "sha256:7f9c38b5774c7cdde038ba1f01c85a7cfde679f257009197ae3a4dcbfb4b8206",
            "sha256:9eb0117c16e17ca41205cc35ec75329bfc83742b5326f418e512c85de5ff9a07",
            "sha256:6b15738e0de09cca2dd7c1fa5177f5e65aae12c7760fc56594b7170254a54563",
            "sha256:7b1c13def30f4b1331cac023d12ddb91476500298c3bd1b9fcf25ae2814aed56",
            "sha256:63c86a29e0170a73e83920b660fc3ab656ca72464cf8678f22c1839466be0291"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-04-02T16:21:42.420139999+08:00"
    }
}

更多版本

docker.io/apache/kafka-native:3.8.1

linux/amd64 docker.io134.33MB2025-04-02 16:19
8

docker.io/apache/kafka-native:3.9.0

linux/amd64 docker.io137.14MB2025-04-02 16:21
8

docker.io/apache/kafka-native:4.0.0

linux/amd64 docker.io136.15MB2025-04-02 16:23
13