Skip to content

Investigate replacing Odo.isPodmanPresent #3665

@datho7561

Description

@datho7561

Currently, we use odo version -o json in order to figure out if podman is installed on the user's system.

We depend on a library called which which can be used to search the user's PATH for the podman binary. This means we don't need to rely on odo to check if podman is installed.

We will need to be careful, since on Windows (and I'm guessing macOS as well) odo version -o json reports that podman is not installed if the binary is present, but podman machine doesn't exist. In this PR, I'm trying to improve the error message in this case. We can probably check if the podman machine has been created by using the podman CLI, and alert the user somehow if it isn't.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions