Pre-Commit hooks for validating Docker projects
Go to file
2023-04-19 09:18:55 -07:00
tests Add some tests and drone to run them 2020-01-28 15:21:42 -05:00
.drone.yml Change drone steps 2020-09-19 21:26:29 +00:00
.gitignore Initial commit 2018-05-21 10:31:17 -07:00
.pre-commit-config.yaml Add pre-commit hooks of our own 2020-09-19 20:07:34 +00:00
.pre-commit-hooks.yaml Use compose plugin language in documentation 2023-04-19 09:18:55 -07:00
compose-check.sh Prefer docker compose v2 2023-04-14 12:35:01 +01:00
LICENSE Initial commit 2018-05-21 10:31:17 -07:00
Makefile Add pre-commit hooks of our own 2020-09-19 20:07:34 +00:00
README.md Use compose plugin language in documentation 2023-04-19 09:18:55 -07:00

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.