mbind: Operation not permitted

桃扇骨 2022-01-20 07:47 917阅读 0赞

【问题描述】 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 中添加

  1. security_opt:
  2. - seccomp:unconfined
  3. 复制代码

发表评论

表情:
评论列表 (有 0 条评论,917人围观)

还没有评论,来说两句吧...

相关阅读