Skip to content

unable to analyze local podman image on Linux #31

@feloy

Description

@feloy

On Linux Fedora,

When building an image locally with podman:

$ podman build . -t quay.io/user/myimage:v0.0.1

Then trying to analyze the image:

doa analyze -i quay.io/user/myimage:v0.0.1
1 - Analyze error (critical): unable to analyze quay.io/user/myimage:v0.0.1
 - error Can't resolved umage quay.io/user/myimage:v0.0.1

When debugging, I can see the following error is returned:

// pkg/decompiler/podman/decompiler.go#50

ctx, err := bindings.NewConnectionWithIdentity(context.Background(), uri, identity, false)
failed to read identity "/home/phmartin/.ssh/podman-machine-default": open /home/phmartin/.ssh/podman-machine-default: no such file or directory"

On Linux, as I don't use a podman machine, this file is not expected to exist

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