问题:
Docker容器运行jar包,显示错误:Failed to start thread "GC Thread#0" - pthread_create failed(EPERM) for attributes :stacksize:1024k,guardsize:4k,detached
问题解决:
将--security-opt seccomp=unconfined
参数添加到docker run
命令修复了我的问题。具体参考自:https://www.saoniuhuo.com/question/detail-2240356.html
相关问题解决:通过升级docker版本进行解决,但并未亲自尝试。https://github.com/GoogleCloudPlatform/pgadapter/issues/405
- quot pthread_create 容器 attributes guardsizequot pthread_create容器attributes thread blas_thread_init pthread_create容器 39 quot attributeerror attribute quot connection attributes truncated 39 quot 226 attribute quot constructor attribute extern quot main springboot attribute guardsize quot容器executable镜像 quot容器 脚本directory