Update README.md

This commit is contained in:
Zachary Rice authored and GitHub committed 2021-11-22 14:25:06 -06:00
1 parent 67a7069bb8
commit d5f9d2b5d2
1 file changed
+6
+6
View File
@@ -34,11 +34,17 @@ brew install gitleaks
```
### Docker
#### DockerHub
Using the image from DockerHub:
```bash
docker pull zricethezav/gitleaks:latest
docker run -v ${path_to_host_folder_to_scan}:/path zricethezav/gitleaks:latest [COMMAND] --source="/path" [OPTIONS]
```
#### ghrc.io
```bash
docker pull ghcr.io/zricethezav/gitleaks:latest
docker run -v ${path_to_host_folder_to_scan}:/path zricethezav/gitleaks:latest [COMMAND] --source="/path" [OPTIONS]
```
### From Source
1. Download and install Go from https://golang.org/dl/