Docker Inc. has released the Docker Bench for Security under an Open Source license. "Inspired" by the CIS (Center for Information Security) Benchmark for Docker the shell script checks for common best-practices around deploying Docker containers in production.
Naturally Docker has also packed the Docker Bench for Security as a container that needs many privileges, including sharing the host filesystem, pid and network namespaces. Docker Bench requires Docker 1.13.0 or later in order to run.