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

kie-issues#1549: kn-workflow-plugin check for the presence of an image in the local Docker image does not cover all cases #2685

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

treblereel
Copy link
Contributor

@treblereel treblereel commented Oct 19, 2024

…e in the local Docker image does not cover all cases
@@ -51,6 +51,10 @@ type DockerLogMessage struct {
ID string `json:"id,omitempty"`
}

type DockerClient interface {
ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it work for podman too? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ricardozanini you can take a look at func RunContainerCommand at containers.go, only docker uses it.

I plan to refactor it a little in the future, this func can be improved

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh so this problem won't happen with podman?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ricardozanini podman is awesome!

@tiagobento tiagobento changed the title kie-issues#1549: kn-workflow-plugin check for the presence of an imag… kie-issues#1549: kn-workflow-plugin check for the presence of an image in the local Docker image does not cover all cases Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kn-workflow-plugin check for the presence of an image in the local Docker image does not cover all cases
3 participants