Is there a Docker-compose file available for Elasticsearch 5.0.0.
I'm trying to launch but getting issues with elasticsearch.yml
network.host: 0.0.0.0 bootstrap.memory_lock: true elasticsearch | ERROR: bootstrap checks failed elasticsearch | memory locking requested for elasticsearch process but memory is not locked elasticsearch | max virtual memory areas vm.max_map_count  likely too low, increase to at least 
My compose file (not working):
version: '2' services: elasticsearch: image: elasticsearch:5.0.0 ports: - "9200:9200" environment: - ES_JAVA_OPTS=-Xms8g -Xmx8g network_mode: "host" cap_add: - ALL ulimits: nofile: soft: 262144 hard: 262144