elasticsearch
docker run -dit -v "$PWD/esdata":/usr/share/elasticsearch/data -p 9200:9200 -p 9300:9300 docker.io/elasticsearch:alpine
docker run -dit -v "/root/esdocker/esdata":/usr/share/elasticsearch/data -p 9200:9200 -p 9300:9300 docker.io/elasticsearch:alpine
logstash
docker run -dit --name logstash -v /opt/access.log:/opt/access.log registry.cn-hangzhou.aliyuncs.com/yasaka/logstash
zookeeper
//docker run --restart always -d -p 2181:2181 zookeeper
docker run -d --name zookeeper --publish 2181:2181 zookeeper:latest
kafka
docker run -d --name kafka --publish 9092:9092 --link zookeeper --env KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181 --env KAFKA_ADVERTISED_HOST_NAME=192.168.33.130 --env KAFKA_ADVERTISED_PORT=9092 wurstmeister/kafka:latest