From 3f894cbafce62d0a8466637588c76df25c1feb47 Mon Sep 17 00:00:00 2001 From: Ian Moroney <10791260+IanMoroney@users.noreply.github.com> Date: Thu, 15 Jun 2023 13:15:57 +0100 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8dae8969..93eb29e7 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ docker run -v ${path_to_host_folder_to_scan}:/path zricethezav/gitleaks:latest [ # Docker (ghcr.io) 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 git clone https://github.com/gitleaks/gitleaks.git