diff --git a/testing/docker.go b/testing/docker.go index d4d2ef817..d6c7129b9 100644 --- a/testing/docker.go +++ b/testing/docker.go @@ -27,6 +27,7 @@ func NewDockerContainer(t testing.TB, image string, env []string, cmd []string) if err != nil { return nil, err } + c.NegotiateAPIVersion(context.TODO()) if cmd == nil { cmd = make([]string, 0)