Story

Show HN: YAML Validator –A simple Docker-based YAML checker

pooyanazad Thursday, November 13, 2025

Hi HN,

I made a tiny tool called YAML Validator that checks your YAML files with one Docker command — no installs, no setup, no excuses.

It does:

- Syntax checks

- yamllint linting

- checkov security scanning

- All in one lightweight, zero-config container

---------------------------------------------------------

How to use:

docker run -v "$(pwd):/data" pooyanazad/yaml-checker <yaml-file>

Optional alias (for .bashrc / .zshrc):

alias ytest='docker run -v "$(pwd):/data" pooyanazad/yaml-checker'

Then simply call:

ytest sample.yaml

YAML powers CI/CD, configs, infra ,and breaking it is too easy. This aims to catch syntax, style, and security issues early with minimal friction.

I’d love feedback, ideas, or edge cases to test.

---------------------------------------------------------

GitHub: https://github.com/pooyanazad/YAML-validator

---------------------------------------------------------

Thanks for reading!

Pooyan

3 0
Read on Hacker News