mbind: Operation not permitted

[Problem description] In IntelliJ IDEA, the Docker Integration plugin starts the MySql container, and then uses Navicat for MySQL to connect. As long as you connect to the database, it will appear: mbind: Operation not permitted, but it has no effect on accessing data, and any database can be accessed normally.

As long as any database is opened, mbind: Operation not permitted will be prompted once.
I saw the related issue on github, the portal: 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…

[Solution] Add in docker-compose.yml

security_opt:
  - seccomp:unconfined
复制代码

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=324132322&siteId=291194637