Last active
August 29, 2015 14:24
-
-
Save blurredbits/aaad582e278c52b36741 to your computer and use it in GitHub Desktop.
Kafka Docker Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d \ | |
--name zookeeper \ | |
--publish 2181:2181 \ | |
jplock/zookeeper:3.4.6 | |
docker run -d \ | |
--name kafka \ | |
--link zookeeper:zookeeper \ | |
--publish 9092:9092 --publish 7203:7203 \ | |
--env EXPOSED_HOST=127.0.0.1 --env ZOOKEEPER_IP=127.0.0.1 \ | |
ches/kafka | |
docker run -d \ | |
--name mongo_db \ | |
--publish 27017:27017 \ | |
mongo | |
docker run -d \ | |
--name postgres_db \ | |
--publish 5432:5432 \ | |
postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment