Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
kb:docker [2018/04/17 11:57]
yehuda created
kb:docker [2018/06/18 04:05] (current)
yehuda
Line 2: Line 2:
  
 Good tool for management : https://​portainer.io/​ Good tool for management : https://​portainer.io/​
 +local url : [[http://​localhost:​9000/​|portainer]]
  
 +
 +<code bash>
 +docker run -p 2181:2181 -p 9092:9092 --env ADVERTISED_HOST=`docker-machine ip \`docker-machine active\`` --env ADVERTISED_PORT=9092 spotify/​kafka
 +
 +export KAFKA=`docker-machine ip \`docker-machine active\``:​9092
 +export ZOOKEEPER=`docker-machine ip \`docker-machine active\``:​2181
 +
 +./​kafka-console-producer.sh --broker-list $KAFKA --topic test
 +./​kafka-console-consumer.sh --zookeeper $ZOOKEEPER --topic test
 +</​code>​
kb/docker.1523980643.txt.gz ยท Last modified: 2018/04/17 11:57 by yehuda
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0