wurstmeister / kafka-docker

Dockerfile for Apache Kafka
http://wurstmeister.github.io/kafka-docker/
Apache License 2.0
6.89k stars 2.73k forks source link

Docker host IP #700

Closed pekkalaaksonen closed 2 years ago

pekkalaaksonen commented 2 years ago

Prerequisites say that I should

modify the KAFKA_ADVERTISED_HOST_NAME in docker-compose.yml to match your docker host IP (Note: Do not use localhost or 127.0.0.1 as the host ip if you want to run multiple brokers.)

Where do I find my Docker host IP? Is it the same as my private IP?

pekkalaaksonen commented 2 years ago

I figured it out. It indeed was my laptop's IP (or atleast I got it working using that).