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!