mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
Fixed docker run command in README.md (#1194)
The docker run command was missing `ghcr.io/` in the image name, which resulted in an error: Unable to find image 'gitleaks/gitleaks:latest' locally docker: Error response from daemon: pull access denied for gitleaks/gitleaks, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
This commit is contained in:
1 parent
7f53b033fe
commit
3f894cbafc
1 file changed
+1
-1
@@ -68,7 +68,7 @@ docker run -v ${path_to_host_folder_to_scan}:/path zricethezav/gitleaks:latest [
|
|||||||
|
|
||||||
# Docker (ghcr.io)
|
# Docker (ghcr.io)
|
||||||
docker pull ghcr.io/gitleaks/gitleaks:latest
|
docker pull ghcr.io/gitleaks/gitleaks:latest
|
||||||
docker run -v ${path_to_host_folder_to_scan}:/path gitleaks/gitleaks:latest [COMMAND] --source="/path" [OPTIONS]
|
docker run -v ${path_to_host_folder_to_scan}:/path ghcr.io/gitleaks/gitleaks:latest [COMMAND] --source="/path" [OPTIONS]
|
||||||
|
|
||||||
# From Source
|
# From Source
|
||||||
git clone https://github.com/gitleaks/gitleaks.git
|
git clone https://github.com/gitleaks/gitleaks.git
|
||||||
|
|||||||
Reference in new issue
Block a user