Skip to content

ggshield scan docker fails with missing path error when run from the Docker image #924

Open
@cdupuis

Description

@cdupuis

Environment

  • ggshield version: gitguardian/ggshield:latest
  • Operating system (Linux, macOS, Windows):
  • Operating system version:
  • Python version:

Describe the bug

I expect the following command to not fail:

❯ docker run -it -v /var/run/docker.sock:/var/run/docker.sock -e GITGUARDIAN_API_KEY=${GITGUARDIAN_API_KEY} gitguardian/ggshield ggshield secret scan docker alpine
Saving docker image...
Error: [Errno 2] No such file or directory: 'docker'

Re-run the command with --verbose to get a stack trace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:newThis issue needs to be reviewedtype:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions