use api version 1.40 (debian)
This commit is contained in:
parent
7492095dd1
commit
9785bd983b
2
main.go
2
main.go
|
@ -28,7 +28,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultHeaders := map[string]string{"User-Agent": "engine-api-cli-1.0"}
|
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 {
|
if err != nil {
|
||||||
log.Fatalf("unread: %s", err)
|
log.Fatalf("unread: %s", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue