Running elasticsearch container on raspberry pi 3

I am trying to start an ELK container Elastic stack ELK stack on rpi3. There is no existing image on the docker hub, so I'm trying to build it from scratch. I used Dockerfile as a base and changed the base image to / rpi -raspbian resin. However, I ran into several problems:

  • For ES 5.4.0+, the ES process could not be started due to the absence of libjnidispatch.so in the file with the jar file (Error: Native library (com / sun / jna / linux-arm / libjnidispatch.so) was not found in the resource path)
  • So I will upgrade to se v5.3.2 instead. I ran into jna problem but ES still failed to load because runtime exception (seccomp unavailable: "arm" is not supported)

The following is a list of Elasticsearch logs. [2017-10-03T13: 05: 44,366] [WARN] [oebJNANatives] failed to set syscall filter: java.lang.UnsupportedOperationException: seccomp not available: architecture "arm" is not supported

PS I already reduce the heap size to 512 m.

Is there anything I have to do to make this happen? Thank.

+4
source share
1 answer

Answering my own question if someone also stumbles upon the same problem. However, any other answers are welcome!

git repo, , rpi. , elasticsearch, seccomp ARM. - .

ElasticSearch 2.4 pi 3. git repo

+4

Source: https://habr.com/ru/post/1686805/


All Articles