A set of pre-commit hooks for Docker services
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
.
Verifies that docker compose files are valid by using docker compose config
to parse them.