# Hadolint

Lint container build instructions

Check Dockerfile directives and embedded shell commands. Define the severity threshold and document narrow exceptions for image-specific requirements.

Category: Infrastructure
Languages: Dockerfile, Shell

## Standard evidence

Rubric v1 · 2/8 verified · 6 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — Hadolint assigns identifiers and severities to Dockerfile rules. Projects can override rule severities in configuration. Reviewed 2026-11-28. [Source](https://github.com/hadolint/hadolint#readme)
- **Measurement** (verified) — The failure-threshold option produces a failing exit code only for violations at or above the chosen severity. Reviewed 2026-11-28. [Source](https://github.com/hadolint/hadolint#readme)
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

Use Hadolint in this repository to meet this standard: Lint container build instructions. Check Dockerfile directives and embedded shell commands. Define the severity threshold and document narrow exceptions for image-specific requirements. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Tool command

```
hadolint Dockerfile
```

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://github.com/hadolint/hadolint)
- [Agent skill](/skills/hadolint/SKILL.md)
