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/11/18 05:58] (current)
yehuda
Line 3: Line 3:
 Good tool for management : https://​portainer.io/​ Good tool for management : https://​portainer.io/​
  
 +
 +Start 
 +<code bash>
 +docker container start portainer
 +</​code>​
 +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