The work is based on https://github.com/tpires/docker-sonar
Run this image with:
docker run -it -d -p 3306:3306 –name smysql neroinc/sonar-mysql
Default user and password for mysql is sonar:123qwe.
Now you can proceed to configure sonar-server.
docker pull neroinc/sonar-mysql:latest