findstr
не ограничится docker run -it $DOCKER_IMAGE
Started recording 1. The result will be written to:
/application/leak.jfr
вот флагиCMD ["java", "-XX:StartFlightRecording=duration=30s,settings=profile,filename=leak.jfr", "-jar", "/application/app.jar" ]