From 32209fee55967203de621a0cfe8f0fbd30a68dd6 Mon Sep 17 00:00:00 2001 From: Ladislav Zvada Date: Mon, 9 Dec 2024 13:20:47 +0100 Subject: [PATCH] set docker api version to 1.45 --- internal/container/controller.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/container/controller.go b/internal/container/controller.go index a5274ea0..e5e23ec3 100644 --- a/internal/container/controller.go +++ b/internal/container/controller.go @@ -34,7 +34,10 @@ type Controller struct { func NewController() (c *Controller) { var err error c = new(Controller) - c.cli, err = client.NewClientWithOpts(client.FromEnv) + c.cli, err = client.NewClientWithOpts( + client.FromEnv, + client.WithVersion("1.45"), + ) checkErr(err) return