Open yanqianglu opened 2 years ago
Thanks for sharing your experience. I for one don’t have a machine with an M1-chip (nor an ARM64 chip for that matter), so can’t really help with this one: adding support for the ARM64 was a user contribution. Leaving this open if someone can help.
hi, think i just ran into the same issue. i wonder since DockerDesktop should emulate the amd64 architecture - even though we might run into performance issues. what i don't get is the fact that i can execute java manually inside the container:
docker run -it --rm --entrypoint /bin/sh sebp/elk:7.15.0
# /opt/elasticsearch/jdk/bin/java -version
openjdk version "16.0.2" 2021-07-20
OpenJDK Runtime Environment Temurin-16.0.2+7 (build 16.0.2+7)
OpenJDK 64-Bit Server VM Temurin-16.0.2+7 (build 16.0.2+7, mixed mode, sharing)
Also fails on MAC M2
Logs from trying to start the latest image using Docker Desktop on MacBook Pro M2 Max running Sonoma 14.3.1 are as follows:
2024-05-19 15:52:58 Starting periodic command scheduler cron
2024-05-19 15:52:58 ...done.
2024-05-19 15:52:59 Starting Elasticsearch Server
2024-05-19 15:53:10 May 19, 2024 10:53:10 PM sun.util.locale.provider.LocaleProviderAdapter
Seems like the following note has a solution -- https://stackoverflow.com/questions/50314586/elasticsearch-fails-to-start-config-seccomp-and-config-seccomp-filter-are-neede
Question: How do I change the image to follow the suggestion to include bootstrap.system_call_filter: false. in elasticsearch.yml file?
Hi,
Firstly, thank you so much for developing and maintaining the image.
I would like to use this image in my M1-chip laptop. I got this error when running the elk "Cannot run program /opt/elasticsearch/jdk/bin/java'". It seems like a compatibility issue with the Apple Silicon chip. Then I tried to rebuild the image for ARM64 as instructed in the doc.
The build was succeed, and I could run it in my machine. However, it behaves a bit different than the version I run in x86 (like it couldn't find the plugin I installed in /opt/elasticsearch/plugins/xxx. and I couldn't load the Kibana page too.
I'm not sure if I misunderstand/misconfigured anything. Meanwhile, I'm wondering will there be an official support for Apple Silicon chip?
Thanks