SkillAgentSearch skills...

Batten

Hardening and Auditing Tool For Docker Hosts & Containers

Install / Use

/learn @dockersecuritytools/Batten
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars69
CategoryDevelopment
Updated2mo ago
Forks9

Languages

Go

Security Score

95/100

Audited on Jan 6, 2026

No findings