From a701fd7601c260bc5212058ae7565d22b56c0057 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Tue, 17 Nov 2020 13:44:51 +0100 Subject: [PATCH] Negociate API version with docker engine Signed-off-by: Nicolas De Loof --- local/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/backend.go b/local/backend.go index 6fc5d08a8..11f9ff496 100644 --- a/local/backend.go +++ b/local/backend.go @@ -41,7 +41,7 @@ func init() { } func service(ctx context.Context) (backend.Service, error) { - apiClient, err := client.NewClientWithOpts(client.FromEnv) + apiClient, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation()) if err != nil { return nil, err }