Getting up and running with Confluent Platform on Docker-Compose
In order to properly use this docker-compose make sure that your containers are resolvable by their container name. Each container must be resolvable from the host machine if you are connecting from the host to the docker environment