use api version 1.40 (debian)

This commit is contained in:
Stefan Schwarz 2020-12-28 02:39:33 +01:00
parent 7492095dd1
commit 9785bd983b
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}