awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
hadolint avatar

hadolint/hadolint

0
View on GitHub↗
12,225 stars·495 forks·Haskell·GPL-3.0·24 views

Hadolint

Hadolint is a static analysis tool designed to validate container build configurations. It functions as a security scanner and configuration auditor, parsing build instructions into a structured format to identify deviations from security and efficiency standards.

The tool distinguishes itself by performing deep inspection of embedded shell commands. By tokenizing and analyzing these scripts, it detects common scripting errors and security vulnerabilities that might otherwise persist within a container image. It integrates external analysis tools to provide specialized validation for these inline commands, ensuring that both the container structure and the execution logic are evaluated.

Beyond basic syntax checking, the utility supports automated workflows by identifying inefficient layer creation and insecure configuration settings. It is designed for integration into continuous integration and deployment pipelines to catch configuration issues before images are built. The project provides a command-line interface for executing these audits across container definitions.

Features

  • Container Image Analyzers - Analyzes container build configurations to identify syntax errors and ensure adherence to best practices.
  • Container Security Scanners - Validates build configurations to identify security vulnerabilities and inefficient construction patterns.
  • Security Testing and Auditing - Audits container build files to identify security vulnerabilities and misconfigurations prior to deployment.
  • Container Image Optimizers - Identifies inefficient layer creation and configuration settings to produce smaller and more efficient container images.
  • Static Analysis Rule Engines - Applies predefined logic checks against parsed instruction trees to enforce security and efficiency standards.
  • Infrastructure as Code Analysis - Validates Dockerfiles against best-practice rules.
  • Build and Version Control - Linter for Dockerfiles to ensure best practices.
  • Code Quality Tools - Lints Dockerfiles and inline bash.
  • Developer Utilities - Linter for validating Dockerfiles.
  • Dockerfile Utilities - Linter for best practices and common Dockerfile mistakes.
  • Linting And Formatting - Linter for Dockerfiles and inline bash.
  • Web Tools - Listed in the “Web Tools” section of the The Book Of Secret Knowledge awesome list.
  • Shell Scripting Linters - Inspects embedded shell scripts to detect common scripting errors and security vulnerabilities before image creation.
  • Container CI/CD Pipelines - Integrates automated configuration audits into CI/CD pipelines to catch issues early in the build process.
  • Pattern Matching Engines - Evaluates build steps against known anti-patterns to identify inefficient layer creation and insecure configurations.

Star history

Star history chart for hadolint/hadolintStar history chart for hadolint/hadolint

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Hadolint

Similar open-source projects, ranked by how many features they share with Hadolint.
  • koalaman/shellcheckkoalaman avatar

    koalaman/shellcheck

    39,574View on GitHub↗

    This project is a static analysis tool and linter designed to improve the quality, reliability, and portability of shell scripts. By performing deep structural analysis, it identifies common programming pitfalls, syntax errors, and security vulnerabilities before scripts are executed. It functions as an automated code reviewer that enforces best practices and helps developers maintain consistent, robust code across different operating environments. The tool distinguishes itself through its dialect-aware grammar resolution, which adapts its parsing logic based on the specific shell interpreter

    Haskellbashdeveloper-toolshaskell
    View on GitHub↗39,574
  • semgrep/semgrepsemgrep avatar

    semgrep/semgrep

    15,603View on GitHub↗

    Semgrep is a static analysis security testing tool designed to identify vulnerabilities and logic errors by matching source code against declarative patterns. It functions as an automated scanner that integrates into development workflows to detect insecure code patterns and enforce coding standards before deployment. The engine utilizes a language-agnostic intermediate representation and a modular parser architecture to normalize diverse programming languages into a unified format. This allows for consistent rule execution across different codebases, enabling users to perform custom structur

    OCamlcgojava
    View on GitHub↗15,603
  • coreos/claircoreos avatar

    coreos/clair

    11,011View on GitHub↗

    Clair is a container vulnerability scanner that performs static analysis of container images to identify known security vulnerabilities. It functions as an analyzer for OCI and Docker images, indexing their contents to detect security risks and outdated packages without requiring the containers to be running. The tool identifies vulnerabilities by matching indexed container components against security databases to find common vulnerabilities and exposures. This process involves analyzing filesystem layers to track the provenance and versioning of packages across the image hierarchy. The proj

    Go
    View on GitHub↗11,011
  • docker-slim/docker-slimdocker-slim avatar

    docker-slim/docker-slim

    23,311View on GitHub↗

    This project is a suite of specialized tools for linting, minifying, analyzing, and managing container images and their associated registries. It provides a set of utilities including an image minifier to reduce image size, a security profiler to harden running containers, an image analyzer for static inspection, and a registry manager for organizing multi-architecture indices. The toolset distinguishes itself through behavior-based optimization and security. It uses dynamic analysis to track executed instructions and file access to remove unused binary data, and records kernel interactions t

    Go
    View on GitHub↗23,311
See all 30 alternatives to Hadolint→

Frequently asked questions

What does hadolint/hadolint do?

Hadolint is a static analysis tool designed to validate container build configurations. It functions as a security scanner and configuration auditor, parsing build instructions into a structured format to identify deviations from security and efficiency standards.

What are the main features of hadolint/hadolint?

The main features of hadolint/hadolint are: Container Image Analyzers, Container Security Scanners, Security Testing and Auditing, Container Image Optimizers, Static Analysis Rule Engines, Infrastructure as Code Analysis, Build and Version Control, Code Quality Tools.

What are some open-source alternatives to hadolint/hadolint?

Open-source alternatives to hadolint/hadolint include: koalaman/shellcheck — This project is a static analysis tool and linter designed to improve the quality, reliability, and portability of… semgrep/semgrep — Semgrep is a static analysis security testing tool designed to identify vulnerabilities and logic errors by matching… coreos/clair — Clair is a container vulnerability scanner that performs static analysis of container images to identify known… docker-slim/docker-slim — This project is a suite of specialized tools for linting, minifying, analyzing, and managing container images and… slimtoolkit/slim — Slim is a comprehensive suite for container lifecycle management, providing tools for image inspection, optimization,… wagoodman/dive — Dive is a command-line tool designed for the analysis and optimization of container images. It functions as a layered…