Updated Readme : added docker doc

This commit is contained in:
Raphael ATALLAH authored and GitHub committed 2018-02-22 09:01:37 +01:00
1 parent d9d87410e2
commit 5d995c05a2
1 file changed
+10
+10
View File
@@ -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