Networking Issue with Kafka-Docker

Expected behavior

Should be able to run the https://github.com/wurstmeister/kafka-docker Kafka Docker Compose project, and follow the steps found at http://wurstmeister.github.io/kafka-docker/.

Actual behavior

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

bash-4.3# $KAFKA_HOME/bin/kafka-topics.sh --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)
java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)

Information

OS X: version 10.10.3 (build: 14D136)
Docker.app: 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 Github.io page.