How to fix “mbind: Operation not permitted” in mysql error log

后端 未结 2 1018
梦如初夏
梦如初夏 2020-12-28 14:11

I have a problem with my MySQL error log which currently mostly consists of \"mbind: Operation not permitted\" lines (see below). Why does it happen and how do I fix it?

2条回答
  •  醉梦人生
    2020-12-28 15:09

    Adding the security_opt option in docker-compose.yml helped to solve this problem:

    database:
      image: mysql:latest
      container_name: mysql_0
      ports:
        - "3306:3306"
      security_opt:
        - seccomp:unconfined
    

提交回复
热议问题