I am currently trying to run the graalvm native image community but I can't on a fedora 40 VM:
$ docker run --rm -it --platform linux/x86_64 --entrypoint=/bin/sh ghcr.io/graalvm/native-image-community:21
Fatal glibc error: CPU does not support x86-64-v2
I checked and it looks my VM supports x86-64-v2:
$ ld.so --help
...
Shared library search path:
(libraries located via /etc/ld.so.cache)
/lib64 (system search path)
/usr/lib64 (system search path)
Subdirectories of glibc-hwcaps directories, in priority order:
x86-64-v4
x86-64-v3
x86-64-v2
I don't have such problems in my windows machine