Deploying Kafka with Docker Compose and Bitnami Images
Create an isolated Docker network for the stack:
docker network create --driver bridge kafkaNet
ZooKeeper container
docker run -d \
--name zk \
--network kafkaNet \
-p 2181:2181 \
-e ALLOW_ANONYMOUS_LOGIN=yes \
bitnami/zookeeper:latest
Kafka broker
Replace HOST_IP with the address Docker will advertise to cleints outside the bridge ...
Posted on Fri, 11 Sep 2026 16:16:46 +0000 by suge