ELK 7.0.1 安装
elasticsearch
docker run -p 9200:9200 -p 9300:9300 --name elasticsearch -e "discovery.type=single-node" elasticsearch:7.0.1
kibana
docker run --name kibana --link elasticsearch:elasticsearch --restart=always -p 5601:5601 -d kibana:7.0.1
apm-server
docker run -d --name=apm-server -p 8200:8200 --user=apm-server --restart=always --link elasticsearch:elasticsearch --link kibana:kinaba --volume="$(pwd)/apm-server.docker.yml:/usr/share/apm-server/apm-server.yml:ro" docker.elastic.co/apm/apm-server:7.0.1 --strict.perms=false -e -E output.elasticsearch.hosts=["elasticsearch:9200"]
网友评论