Docker
You are viewing documentation for an older version (3.9) of Kafka. For up-to-date documentation, see the latest version.
Docker
JVM Based Apache Kafka Docker Image
Docker is a popular container runtime. Docker images for the JVM based Apache Kafka can be found on Docker Hub and are available from version 3.7.0.
Docker image can be pulled from Docker Hub using the following command:
$ docker pull apache/kafka:3.9.1If you want to fetch the latest version of the Docker image use following command:
$ docker pull apache/kafka:latestTo start the Kafka container using this Docker image with default configs and on default port 9092:
$ docker run -p 9092:9092 apache/kafka:3.9.1GraalVM Based Native Apache Kafka Docker Image
Docker images for the GraalVM Based Native Apache Kafka can be found on Docker Hub and are available from version 3.8.0.
NOTE: This image is experimental and intended for local development and testing purposes only; it is not recommended for production use.
Docker image can be pulled from Docker Hub using the following command:
$ docker pull apache/kafka-native:3.9.1If you want to fetch the latest version of the Docker image use following command:
$ docker pull apache/kafka-native:latestTo start the Kafka container using this Docker image with default configs and on default port 9092:
$ docker run -p 9092:9092 apache/kafka-native:3.9.1Usage guide
Detailed instructions for using the Docker image are mentioned here.
Last modified December 19, 2025: Add license info to every source file and handle `documentation.html` links for all versioned paths. (devlive-community/knowforge#764) (379dba2230)
评论
登录后参与评论
KnowForge