Skip to content

Instantly share code, notes, and snippets.

@blurredbits
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blurredbits/aaad582e278c52b36741 to your computer and use it in GitHub Desktop.
Save blurredbits/aaad582e278c52b36741 to your computer and use it in GitHub Desktop.
Kafka Docker Commands
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