|
|
@@ -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/
|