Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to analyze local podman image on Linux #31

Open
feloy opened this issue Dec 1, 2023 · 1 comment
Open

unable to analyze local podman image on Linux #31

feloy opened this issue Dec 1, 2023 · 1 comment

Comments

@feloy
Copy link
Contributor

feloy commented Dec 1, 2023

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

@jeffmaury
Copy link
Member

It's very likely that the connection to podman is based on remote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants