Hardening and Auditing Tool For Docker Hosts & Containers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Godeps initial commit May 28, 2015
batten initial commit May 28, 2015
cli Added support for remote Docker check Jul 4, 2015
.gitignore initial commit May 28, 2015
Dockerfile Build docker file directly from sources Jun 30, 2015
LICENSE add MIT license Jul 1, 2015
Makefile
README.md Added support for remote Docker check Jul 4, 2015
batten.go added usage for remote scan Jul 4, 2015
remote.go Added support for remote Docker check Jul 4, 2015

README.md

batten - Docker Audit Toolkit

About

batten down the hatches! batten is an auditing framework that contains some tools to help audit and harden your Docker deployments.

Identify potential security issues, and harden your existing Docker containers using a configurable policy.

Docker Image

The supplied Dockerfile will help you create and run a Docker image. Build a Docker image by running following command from the source root directory:

docker build -t batten .

After you create the Docker image, you can run it by supplying volume mount to the Docker socket file:

docker run -v /var/run/docker.sock:/var/run/docker.sock batten

Running a Remote Check

Provide the '--server' flag to run a check on a remote Docker host. Note that the remote host needs to be configured with TCP/TLS connection enabled. In case you are using TLS you need to provide the certificates and key file as parameters to batten command line:

./batten --tlscacert=ca.pem --tlskey=key.pem --tlscert=cert.pem --server=tcp://<docker host>:<port> check