i've install ES using docker compose with tutorial on the docs. but the container won't run status exited and i found message like this .
[root@s1 ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
44600ac939ca docker.elastic.co/elasticsearch/elasticsearch:6.5.1 "/usr/local/bin/dock…" About a minute ago Exited (137) About a minute ago elasticsearch
bf50d8d7c0bb docker.elastic.co/elasticsearch/elasticsearch:6.5.1 "/usr/local/bin/dock…" About a minute ago Exited (137) About a minute ago elasticsearch2
[root@s1 ~]# docker logs elasticsearch
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
OpenJDK 64-Bit Server VM warning: UseAVX=2 is not supported on this CPU, setting it to UseAVX=1
Let me ask a few questions to see if we can figure out what's going on:
Is that the complete log?
Does the container have access to enough memory?
Are you running this in a virtual machine (ie. are you using Windows or MacOS?).
What documentation, specifically, are you reading?
-maybe ... yes, it's the log but not complete log..
-around 1GB, is it okay?
-i use VM with CENTOS 7 and install docker to it .
-i read directly from docs of docker elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.