From 8206541f810a84bc088a6a895b2c378babc3293b Mon Sep 17 00:00:00 2001 From: Roman Vanicek Date: Mon, 6 May 2024 14:11:39 +0200 Subject: [PATCH] Current docker refuses to load the plugin due to API version --- pkg/plugin/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plugin/plugin.go b/pkg/plugin/plugin.go index a3859b0..1d95a8f 100644 --- a/pkg/plugin/plugin.go +++ b/pkg/plugin/plugin.go @@ -23,7 +23,7 @@ type Plugin struct { // NewPlugin creates a new Plugin func NewPlugin(awaitTimeout time.Duration) (*Plugin, error) { - client, err := docker.NewClient("unix:///run/docker.sock", "v1.13.1", nil, nil) + client, err := docker.NewClient("unix:///run/docker.sock", "v1.41", nil, nil) if err != nil { return nil, fmt.Errorf("failed to create docker client: %w", err) }