From 5d995c05a2a746946cc739bdf1aaa9e7775cdae8 Mon Sep 17 00:00:00 2001 From: Raphael ATALLAH <4487892+devnixs@users.noreply.github.com> Date: Thu, 22 Feb 2018 09:01:37 +0100 Subject: [PATCH] Updated Readme : added docker doc --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 85029933..eaee8165 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,16 @@ NOTE: your mileage may vary so if you aren't getting the results you expected tr ### If you find a valid leak in a repo Please read https://help.github.com/articles/removing-sensitive-data-from-a-repository/ to remove the sensitive information from your history +### Run me with docker + +Simply run `docker run --rm --name=gitleaks raphaelareya/gitleaks https://github.com/zricethezav/gitleaks` + +Or build the image yourself to get the latest version : +` +docker build -t gitleaks . +docker run --rm --name=gitleaks gitleaks https://github.com/zricethezav/gitleaks +` + #### TODO * Specify a target branch