Tools compared: Docker security scanner

Finding the right tool for the job can be difficult task. This sheet compares Clair, Docker Bench for Security, Dockerscan and Lynis.

ClairDocker Bench for SecurityDockerscanLynis

Clair is an open source container analyzer. It performs static analysis of container images and correlates their contents with public vulnerability databases.

Docker Bench for Security is a small security scanner to perform several tests that are part of the Docker CIS benchmark.

Dockerscan is a Docker toolkit for security analysis which includes attacking tools. It is more focused on side of the offensive than defensive.

Lynis is a security auditing tool for systems running Linux, macOS, or Unix. It can be used for security assessments and configuration audits.

Tool details

The tool has been created by CoreOS and can scan containers of different formats. It analyzes them and determines available security weaknesses in the container.


Lynis is an open source security auditing tool that is available since 2007 and created by Michael Boelen. Its primary goal is to evaluate the security defenses of systems running Linux or other flavors of Unix. It provides suggestions to install, configure, or correct any security measures.

Dependenciesbooby-ng, click, colorlog, ndg-httpsclient, pyasn1, pyOpenSSL, Python 3, python-dxf, requests
StrenghtsThe source code of this software is availableScreen output is colored, More than 25 contributors, More than 3000 GitHub stars, The source code of this software is availableMore than 500 GitHub stars, The source code of this software is availableCommercial support available, More than 50 contributors, More than 4000 GitHub stars, Used language is shell script, Very low number of dependencies, Project is mature (5+ years), The source code of this software is available
Programming language(s)Golangshell scriptPythonshell script
Last release

2.0.2 (2018-03-19)

1.3.3 (2017-10-06)


2.6.3 (2018-03-07)

Tool page (last updated)





Tool score
DownloadDownloadDownloadClone on GitHubDownload
More informationClair reviewDocker Bench for Security reviewDockerscan reviewLynis review