From f79868ff6c5eed9f64b0cb1a3ac6269e4fd74e9a Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Sat, 26 Sep 2020 04:22:29 +0200 Subject: [PATCH] why tf do we create docker clients in two locations... --- environment/docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment/docker.go b/environment/docker.go index c2a4e3e..b30bd8d 100644 --- a/environment/docker.go +++ b/environment/docker.go @@ -13,7 +13,7 @@ import ( // Configures the required network for the docker environment. func ConfigureDocker(c *config.DockerConfiguration) error { // Ensure the required docker network exists on the system. - cli, err := client.NewClientWithOpts(client.FromEnv) + cli, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation()) if err != nil { return err }