---
title: "Dockle"
description: "Runs Dockle on an image (image:<ref>): CIS Docker Benchmark checks on image config and contents (root user, secrets in ENV or files, setuid files, ADD, latest tag). Dockle pulls the image from its registry when it is not available locally."
url: https://openaudit.se/auditors/container.dockle/
---

# Dockle

`container.dockle`

Runs Dockle on an image (image:<ref>): CIS Docker Benchmark checks on image config and contents (root user, secrets in ENV or files, setuid files, ADD, latest tag). Dockle pulls the image from its registry when it is not available locally.

- **Engine:** Wrapped scanner
- **Wraps:** `dockle`
- **Targets:** Container
- **Areas:** Security, Best practices
- **Runs:** Opt-in: only when selected with --only
- **Network:** Contacts services beyond the target

## Run only this auditor

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

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

## More security auditors

- [Dockerfile security & best practices](https://openaudit.se/auditors/container.dockerfile/) (`container.dockerfile`)
- [Docker Compose security](https://openaudit.se/auditors/container.compose/) (`container.compose`)
- [Container image scan](https://openaudit.se/auditors/container.image/) (`container.image`)
- [Secrets & configuration review](https://openaudit.se/auditors/agent.secrets-config/) (`agent.secrets-config`)
- [Infrastructure architecture review](https://openaudit.se/auditors/agent.iac-architecture/) (`agent.iac-architecture`)
