docker-kafka icon indicating copy to clipboard operation
docker-kafka copied to clipboard

java.rmi.server.ExportException: Port already in use: 7203

Open bondarYehor opened this issue 7 years ago • 1 comments

Hello,

I'm looking for good dockerized kafka environment for local development and found you repo suitable.

When I run "complex build" or make a docker-compose.yml everything started successfully but Kafka topic creation is failed with

kafka@ac447f2a0628:~$ kafka-topics.sh --create --topic test --replication-factor 1 --partitions 1 --zookeeper zookeeper:2181 Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7203; nested exception is: java.net.BindException: Address already in use

Could you please help me with this?

bondarYehor avatar Aug 25 '17 05:08 bondarYehor

Hi, it looks like you must be using docker exec to get that shell—please don't do that! Use docker run instead. Here's a longer rant about it: https://github.com/ches/docker-kafka/pull/11#issuecomment-292752506

ches avatar Aug 30 '17 19:08 ches