SonarLint offers the ability to scan code for bugs and quality issues, with several languages supported, minimal configuration and simple usage.
$ docker pull beevelop/sonarlint
$ docker run --rm -it -v `pwd`/guava:/code -v `pwd`/report:/report beevelop/sonarlint
/code
: Bind this volume to your local code / repo (required)/report
: Optionally bind a volume for the html report (stored as sonar.html)