hadolint
The hadolint analyzer lints a "pseudo-Dockerfile" reverse-engineered from the image history using Hadolint.
Overview
- Analyzer Name:
hadolint - Tool Dependencies:
hadolint,skopeo - Output Schema:
hadolint.schema.json
Functionality
Since many images are uploaded without their original Dockerfile, RegiS reverse-engineers a pseudo-Dockerfile from the image's layer history. Hadolint then scans this pseudo-Dockerfile for security issues and style violations.
This is particularly useful for identifying:
- Inefficient
RUNinstructions. - Insecure practices like using
sudoor absolute paths. - Missing labels or health checks.