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的安全验证,即可