Skip to content

Incorrect JDK architecture (x86_64) in Logstash 9.2.5 ARM64 image #18813

@wuyanfeiwork

Description

@wuyanfeiwork

I'm running the logstash:9.2.5 image on an ARM64 server (aarch64). Even though docker inspect shows the image architecture is arm64, the built-in JDK is actually x86_64, causing an Exec format error.

$ docker run -it --rm --entrypoint /bin/sh logstash:9.2.5 -c "od -An -t x1 -N 20 /usr/share/logstash/jdk/bin/java"
7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
03 00 3e 00  <-- This indicates x86_64 (Machine type 0x3E)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions