【java】docker容器内使用jstack等命令报错 The VM does not support the attach mechanism

1.背景

因为需要,所以在docker 容器中的服务器中执行jstack查线程,但是执行报错

[root@1 xxx]# /usr/jdk64/jdk1.8.0_112/bin/jps
32737 Jps
13218

你可能感兴趣的:(docker,VM,support,attach,mechanism)