GitHub - arareko/docker-pre-commit: Pre-Commit hooks for validating Docker projects (Mirror)

Skip to content

Navigation Menu

Sign in

Appearance settings

docker-pre-commit

A set of pre-commit hooks for Docker services

Installation

Add the following to your .pre-commit-config.yaml file

  - repo: https://github.com/iamthefij/docker-pre-commit
    rev: master
    hooks:
      - id: docker-compose-check

and then run pre-commit autoupdate.

Hooks

docker-compose-check

Verifies that docker compose files are valid by using docker compose config to parse them.

Languages

  • Shell 54.4%
  • Makefile 45.6%