elk-docker
elk-docker copied to clipboard
Running issues with Apple Silicon
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
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)