Prevent runaway mysql log

We recently ran into an issue where the mysql console output was filling up the disk with

> mbind: Operation not permitted

It turns out this is a common problem with the `mysql` docker image. This is the fix.

https://stackoverflow.com/questions/55559386/how-to-fix-mbind-operation-not-permitted-in-mysql-error-log
pull/1/head
Sean Whalen 2020-12-11 11:10:36 -05:00 committed by GitHub
parent 0fcbf2ffd1
commit 553eb00e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ services:
- "MYSQL_DATABASE=misp" - "MYSQL_DATABASE=misp"
volumes: volumes:
- mysql_data:/var/lib/mysql - mysql_data:/var/lib/mysql
cap_add:
- SYS_NICE # CAP_SYS_NICE Prevent runaway mysql log
misp: misp:
image: coolacid/misp-docker:core-latest image: coolacid/misp-docker:core-latest