Ai
22 Star 149 Fork 163

Apache/kafka

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker.html 3.07 KB
一键复制 编辑 原始数据 按行查看 历史
Mickael Maison 提交于 2024-06-18 23:15 +08:00 . MINOR: Refresh of the docs (#16375)
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script>
<!--#include virtual="js/templateData.js" -->
</script>
<script id="docker-template" type="text/x-handlebars-template">
<h4 class="anchor-heading">JVM Based Apache Kafka Docker Image</h4>
<p>
<a href="https://www.docker.com/">Docker</a> is a popular container runtime. Docker images for the JVM based Apache Kafka can be found on <a href="https://hub.docker.com/r/apache/kafka">Docker Hub</a> and are available from version 3.7.0.
</p>
<p> Docker image can be pulled from Docker Hub using the following command: </p>
<pre><code class="language-bash">$ docker pull apache/kafka:{{fullDotVersion}}</code></pre>
<p> If you want to fetch the latest version of the Docker image use following command: </p>
<pre><code class="language-bash">$ docker pull apache/kafka:latest</code></pre>
<p> To start the Kafka container using this Docker image with default configs and on default port 9092: </p>
<pre><code class="language-bash">$ docker run -p 9092:9092 apache/kafka:{{fullDotVersion}}</code></pre>
<h4 class="anchor-heading">GraalVM Based Native Apache Kafka Docker Image</h4>
<p>
Docker images for the GraalVM Based Native Apache Kafka can be found on <a href="https://hub.docker.com/r/apache/kafka-native">Docker Hub</a> and are available from version 3.8.0.<br>
NOTE: This image is experimental and intended for local development and testing purposes only; it is not recommended for production use.
</p>
<p> Docker image can be pulled from Docker Hub using the following command: </p>
<pre><code class="language-bash">$ docker pull apache/kafka-native:{{fullDotVersion}}</code></pre>
<p> If you want to fetch the latest version of the Docker image use following command: </p>
<pre><code class="language-bash">$ docker pull apache/kafka-native:latest</code></pre>
<p> To start the Kafka container using this Docker image with default configs and on default port 9092: </p>
<pre><code class="language-bash">$ docker run -p 9092:9092 apache/kafka-native:{{fullDotVersion}}</code></pre>
<h4 class="anchor-heading">Usage guide</h4>
<p>
Detailed instructions for using the Docker image are mentioned <a href="https://github.com/apache/kafka/blob/trunk/docker/examples/README.md">here</a>.
</p>
</script>
<div class="p-docker"></div>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/apache/kafka.git
git@gitee.com:apache/kafka.git
apache
kafka
kafka
trunk

搜索帮助