Skip to content

Unable to find the image locally with docker v29 #4730

@t3mi

Description

@t3mi

TruffleHog Version

trufflehog 3.93.0

Expected Behavior

Image successfully scanned

Actual Behavior

$ docker --version
Docker version 29.2.0, build 0b9d198

$ docker images
 IMAGE                                                ID             DISK USAGE   CONTENT SIZE   EXTRA
contoso.azurecr.io/repo/default:pr_comment-4b89a10   eae0f6d9dd25        323MB         92.9MB        
moby/buildkit:buildx-stable-1                        1e110c71d389        345MB          108MB   U 

$ trufflehog --version
trufflehog 3.93.0

$ trufflehog docker --image=docker://contoso.azurecr.io/repo/default:pr_comment-4b89a10 --fail-on-scan-errors --fail --log-level=0 --results=verified,unknown --no-update
🐷🔑🐷  TruffleHog. Unearth your secrets. 🐷🔑🐷
2026-02-05T16:41:07Z	info-0	trufflehog	running source	{"source_manager_worker_id": "0sbab", "with_units": false, "target_count": 0, "source_manager_units_configurable": true}
2026-02-05T16:41:07Z	error	trufflehog	error processing image	{"source_manager_worker_id": "0sbab", "source_type": "SOURCE_TYPE_DOCKER", "source_name": "trufflehog - docker", "image": "docker://contoso.azurecr.io/repo/default:pr_comment-4b89a10", "error": "Error response from daemon: No such image: contoso.azurecr.io/repo/default:pr_comment-4b89a10"}
2026-02-05T16:41:07Z	info-0	trufflehog	finished scanning	{"chunks": 0, "bytes": 0, "verified_secrets": 0, "unverified_secrets": 0, "scan_duration": "2.126107ms", "trufflehog_version": "3.93.0", "verification_caching": {"Hits":0,"Misses":0,"HitsWasted":0,"AttemptsSaved":0,"VerificationTimeSpentMS":0}}

Steps to Reproduce

  1. Setup latest (v29+) docker version (or v28 with containerd enabled) with the help of docker/setup-docker-action
  2. Build image
  3. Scan the newly built image with trufflehog

Environment

  • OS: Ubuntu
  • Version: 24.04.3

Additional Context

v29 docker version is using containerd image store by default. It would be the default for GitHub Actions starting February 9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions