---
title: "Hadolint"
description: "Runs hadolint on Dockerfiles: Dockerfile best practices plus ShellCheck on RUN instructions."
url: https://openaudit.se/auditors/container.hadolint/
---

# Hadolint

`container.hadolint`

Runs hadolint on Dockerfiles: Dockerfile best practices plus ShellCheck on RUN instructions.

- **Engine:** Wrapped scanner
- **Wraps:** `hadolint`
- **Targets:** Container
- **Areas:** Best practices, Security
- **Runs:** By default, when the target applies
- **Network:** Only the target itself

## Run only this auditor

```sh
bunx @openaudit/cli image:nginx:1.27 --only container.hadolint
```

Wraps hadolint. When it isn't installed, the auditor is skipped with an install hint and the rest of the audit runs.
