【问题描述】 IntelliJ IDEA 中,Docker Integration 插件,启动 MySql 容器,然后使用 Navicat for MySQL 来连接。只要连接数据库就会出现:mbind: Operation not permitted,但是对访问数据没有任何影响,任何数据库都能够正常访问。
只要打开任意一个数据库,都会提示一次 mbind: Operation not permitted。 在 github 上看到了相关 issue,传送门: github.com/docker-libr…【出现原因】 The server use mbind for NUMA (non-uniform memory access) operations, but Docker blocks this access by default. It's possible to provide a custom profile that allows it, but the syntax of the profile files has changed across Docker versions, so it's kind of messy. There's more about this here: docs.docker.com/engine/secu…
【解决办法】 在 docker-compose.yml 中添加
security_opt:
- seccomp:unconfined
复制代码
所有评论(0)