Docker下运行Mysql报错 mbind: Operation not permitted

version: '3.7'
  services:
    mysql:
      image: mysql
      container_name: mysql
      # docker安全验证
      security_opt:
        - seccomp:unconfined
      ports:
        - 3306:3306

docker-compose.yml中忽略docker的安全验证,即可

posted @ 2021-01-03 16:49  lgp20151222  阅读(2875)  评论(0编辑  收藏  举报