Monday, 24 February 2020

Solve docker-compose exit code 137 in mac

exit code 137 is 128 + 9, which means ES received a SIGKILL (cf. http://tldp.org/LDP/abs/html/exitcodes.html). Try to reduce your heap size by setting eg. ES_JAVA_OPTS: "-Xms256m -Xmx256m" in your docker-compose file instead of the default of 1g (which is admittedly high for Docker for Mac)

from: https://gitter.im/deviantony/docker-elk?at=58cbd582590d72c864d9bde5

No comments:

Post a Comment

How does one detect if one is running within a docker container within Python?

  import os, re path = "/proc/self/cgroup" def is_docker (): if not os.path.isfile(path): return False with open (pa...