Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.01 KB

File metadata and controls

23 lines (17 loc) · 1.01 KB

zipkin-elasticsearch6 Docker image

The zipkin-elasticsearch6 testing image runs Elasticsearch 6.x for Elasticsearch storage integration.

To build openzipkin/zipkin-elasticsearch6:test, from the top-level of the repository, run:

$ DOCKER_FILE=docker/test-images/zipkin-elasticsearch6/Dockerfile build-bin/docker/docker_build openzipkin/zipkin-elasticsearch6:test

You can use the env variable JAVA_OPTS to change settings such as heap size for Elasticsearch.

Host setup

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"