The problem is indeed the Docker image eclipse-temurin:21-jre-jammy. clj-async-profiler requires JDK to work. Using e.g. eclipse-temurin:21-jdk-noble should work.
eclipse-temurin:21-jre-jammy
eclipse-temurin:21-jdk-noble