From 9785bd983b00b82886b68592198c667cedd08fb0 Mon Sep 17 00:00:00 2001 From: Stefan Schwarz Date: Mon, 28 Dec 2020 02:39:33 +0100 Subject: [PATCH] use api version 1.40 (debian) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 1e51bfd..f3f7bc2 100644 --- a/main.go +++ b/main.go @@ -28,7 +28,7 @@ func main() { } defaultHeaders := map[string]string{"User-Agent": "engine-api-cli-1.0"} - cli, err := client.NewClient("unix:///var/run/docker.sock", "v1.44", nil, defaultHeaders) + cli, err := client.NewClient("unix:///var/run/docker.sock", "v1.40", nil, defaultHeaders) if err != nil { log.Fatalf("unread: %s", err) }