Docker Run 命令行追加
--add-host=host.docker.internal:host-gateway
Docker compose 文件中设置
extra_hosts: - host.docker.internal:host-gateway
Golang 编译程序Docker内报错 runtime/cgo: pthread_create failed: Operation not permitted
Golang DFA 高效率敏感词过滤基础写法