docker中ptrace失败的解决方法

在docker容器中使用ptrace会报Operation not permitted的错误,需要在docker run 命令中加上参数--cap-add=SYS_PTRACE

你可能感兴趣的:(docker中ptrace失败的解决方法)