Docker Container mysql:5.6 keeps restaring CentOS7

I wanted to report a problem and the solution to it.

I installed Docker and Docker-Compose, got the images from Xibo and tried docker-compose up on CentOS7.

The mysql:5.6 container, the database kept restarting. After setenforce 0 to temporarily disable SELinux the problem was solved and the database reachable.