Docker Community Forums

Share and learn in the Docker community.

Networking Issue with Kafka-Docker

(Brandong) #1

Expected behavior

Should be able to run the Kafka Docker Compose project, and follow the steps found at

Actual behavior

Am able to run the kafka container and the zookeeper container with no failures, however, following the steps in Testing at the page yields the following failure

bash-4.3# $KAFKA_HOME/bin/ --create --topic topic \
> --partitions 4 --zookeeper $ZK --replication-factor 2
[2016-05-23 20:30:17,959] WARN Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn) Connection refused
	at Method)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(
	at org.apache.zookeeper.ClientCnxn$


OS X: version 10.10.3 (build: 14D136) version v1.11.1-beta12
Running diagnostic tests:
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Docker logs are being collected into /tmp/20160524-110117.tar.gz
Most specific failure is: No error was detected
Your unique id is: F4BBD9B6-4A60-4AAC-AB1C-F43E37D5B14B

Steps to reproduce the behavior

  1. Clone Kafka-Docker.
  2. Follow the directions for usage on the Github page.
  3. Follow the directions on the page.