Skip to content

Podman compatibility #75

Description

@dannystaple

Podman (a docker alternative) does not assume that docker.io is the default registry for partial docker image references - like semgrep/semgrep:latest and would result in the following error:

semgrep..................................................................Failed
- hook id: semgrep-docker
- exit code: 125

Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: short-name "semgrep/semgrep:latest" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"

Adding the docker.io registry in front of the image reference would fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions