Apache Kafka Zookeeper using jdk17 on fedora-minimal:38
51
== Option to the Container
Values to change
KAFKA_DATA_DIR='/tmp/zookeeper'
KAFKA_ADMIN_ENABLE_SERVER='false'
KAFKA_ADMIN_SERVER_PORT='8080'
TIP: Create the folder for KAFKA_DATA_DIR up front or use an existing one.
Default values
KAFKA_DATA_DIR_DEFAULT='/tmp/zookeeper'
KAFKA_ADMIN_ENABLE_SERVER_DEFAULT='false'
KAFKA_ADMIN_SERVER_PORT_DEFAULT='8080'
Start a container
Minimum options
docker run -it \
docker.io/jarrydk/fedora-minimal-kafka-zookeeper:3.5.0
All options
docker run \
-it \
--rm=true \
--name=kafka-zookeeper \
-p 2181:2181 \
-e KAFKA_DATA_DIR_DEFAULT=/tmp/zookeeper \
-e KAFKA_ADMIN_ENABLE_SERVER_DEFAULT=false \
-e KAFKA_ADMIN_SERVER_PORT_DEFAULT=8080 \
docker.io/jarrydk/fedora-minimal-kafka-zookeeper:3.5.0
Content type
Image
Digest
sha256:b1ad3e7d7…
Size
481.5 MB
Last updated
over 3 years ago
docker pull jarrydk/fedora-minimal-kafka-zookeeper:3.5.0