You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Docker Desktop on Apple M1. Reported on dev preview feedback
seventeen:~() $ docker run -it --rm -e "cluster.name=docker-cluster" -e "bootstrap.memory_lock=true" -e "discovery.type=single-node" -e "ES_JAVA_OPTS=-Xms512m -Xmx512m" docker.elastic.co/elasticsearch/elasticsearch:7.4.0
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Exception in thread "main" java.io.IOException: Cannot run program "/usr/share/elasticsearch/jdk/bin/java": error=0, Failed to exec spawn helper.
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at org.elasticsearch.tools.launchers.JvmErgonomics.flagsFinal(JvmErgonomics.java:100)
at org.elasticsearch.tools.launchers.JvmErgonomics.finalJvmOptions(JvmErgonomics.java:79)
at org.elasticsearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:57)
at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:89)
Caused by: java.io.IOException: error=0, Failed to exec spawn helper.
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:319)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:250)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
when i do it in context of my product, i get a segfault from qemu:
seventeen:app(develop!) $ ./app_dev.sh logs -f elasticsearch
Attaching to app_elasticsearch_1
elasticsearch_1 | qemu: uncaught target signal 11 (Segmentation fault) - core dumped
elasticsearch_1 | Exception in thread "main" java.io.IOException: Cannot run program "/usr/share/elasticsearch/jdk/bin/java": error=0, Failed to exec spawn helper.
elasticsearch_1 | at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
The text was updated successfully, but these errors were encountered:
Running Docker Desktop on Apple M1. Reported on dev preview feedback
when i do it in context of my product, i get a segfault from qemu:
The text was updated successfully, but these errors were encountered: