Home  >  Article  >  Backend Development  >  How to Resolve \"runtime/cgo: pthread_create failed: Operation not permitted\" Error in Docker?

How to Resolve \"runtime/cgo: pthread_create failed: Operation not permitted\" Error in Docker?

Linda Hamilton
Linda HamiltonOriginal
2024-10-24 00:33:30366browse

How to Resolve

The error "runtime/cgo: pthread_create failed: Operation not permitted" is caused by a change in the Go image architecture in mid-June. To resolve this issue, update the Dockerfile image to golang:1.19.1 or later.

The above is the detailed content of How to Resolve \"runtime/cgo: pthread_create failed: Operation not permitted\" Error in Docker?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn