首页 > 其他分享 >runtime/cgo: pthread_create failed: Operation not permitted

runtime/cgo: pthread_create failed: Operation not permitted

时间:2023-02-13 19:33:59浏览次数:59  
标签:cgo create failed pthread Operation permitted

runtime/cgo: pthread_create failed: Operation not permitted

在容器里边运行命令报错

解决方案(增加 --privileged)

docker run --privileged

参考文档

https://stackoverflow.com/questions/41178553/docker-how-to-avoid-operation-not-permitted-in-docker-container

标签:cgo,create,failed,pthread,Operation,permitted
From: https://www.cnblogs.com/-xuan/p/17117513.html

相关文章