🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Docker Compose Linter

by @charlie-morrison

Lint docker-compose.yml files for security, best practices, and port conflicts.

Versionv1.0.1
Installs1
πŸ’‘ Examples

# Lint with default text output
python3 scripts/docker-compose-linter.py lint docker-compose.yml

Only show errors and warnings

python3 scripts/docker-compose-linter.py --min-severity warning lint docker-compose.yml

JSON output for CI pipelines

python3 scripts/docker-compose-linter.py --format json lint docker-compose.yml

Full audit in markdown

python3 scripts/docker-compose-linter.py --format markdown audit docker-compose.yml

Ignore specific rules

python3 scripts/docker-compose-linter.py --ignore root-user --ignore no-logging lint docker-compose.yml

Strict mode: exit 1 on any issue

python3 scripts/docker-compose-linter.py --strict lint docker-compose.yml

βš™οΈ Configuration

| Option | Description | |-------------------------------|--------------------------------------------------| | --format text\|json\|markdown | Output format (default: text) | | --strict | Exit 1 on any issue (not just errors) | | --ignore RULE | Ignore a specific rule (repeatable) | | --min-severity error\|warning\|info | Minimum severity to report (default: info) |

View on ClawHub
TERMINAL
clawhub install docker-compose-linter

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’