Using Ubuntu 16.10 Docker 1.12.3 Docker Composer 1.8 Elastic latest tag of official elastic docker image
docker-compose.yml
version: '2'
services:
elastic:
image: elasticsearch
environment:
- ES_JAVA_OPTS=-Xmx2g -Xms2g
getting on logs
elastic_1 | ERROR: bootstrap checks failed elastic_1 | max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] elastic_1 | [2016-11-18T17:48:17,058][INFO ][o.e.n.Node ] [HK_OIan] stopping ...
Any idea, thanks