wurstmeister / kafka-docker

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

Ports not exposed in Dockerfile #653

Open upcFrost opened 3 years ago

upcFrost commented 3 years ago

Hi,

I've spotted that Dockerfile does not expose any ports. It is kinda reasonable as listeners can run on different ports which are not known at build time, but it actually introduces some difficulties using this image in some CI engines (on Gitlab at least), which are trying to check if the service is healthy by pinging the exposed port.

That said, could you please export, for example, port 9092 in the Dockerfile?