基于openjdk:8u171-alpine构建的java镜像,使用jstack命令打印线程的时候会提示以下错误:
/opt # ps -ef PID USER TIME COMMAND 1 root 0:28 /usr/lib/jvm/java-1.8-openjdk/bin/java -jar /test/lib/test.jar 66 root 0:00 /bin/sh 70 root 0:00 ps /opt # jstack 1 1: Unable to get pid of LinuxThreads manager thread