诊断Docker里的Java进程
docker exec -it ${containerId} /bin/bash -c “wget https://arthas.aliyun.com/arthas-boot.jar && java -jar arthas-boot.jar”
诊断k8s里容器里的Java进程
kubectl exec -it ${pod} --container ${containerId} – /bin/bash -c “wget https://arthas.aliyun.com/arthas-boot.jar && java -jar arthas-boot.jar”