The zipkin-elasticsearch7
testing image runs Elasticsearch 7.x for Elasticsearch storage
integration.
To build openzipkin/zipkin-elasticsearch7
, from the top level of the repository, run:
$ docker build -t openzipkin/zipkin-elasticsearch7:test -f docker/storage/elasticsearch7/Dockerfile .
You can use the env variable ES_JAVA_OPTS
to change settings such as heap size for Elasticsearch.
Elasticsearch is strict about virtual memory. You will need to adjust accordingly (especially if you notice Elasticsearch crash!)
# If docker is running on your host machine, adjust the kernel setting directly
$ sudo sysctl -w vm.max_map_count=262144
# If using docker-machine/Docker Toolbox/Boot2Docker, remotely adjust the same
$ docker-machine ssh default "sudo sysctl -w vm.max_map_count=262144"