diff --git a/cli/context/docker/load.go b/cli/context/docker/load.go index b163dac38a..8de36b4a25 100644 --- a/cli/context/docker/load.go +++ b/cli/context/docker/load.go @@ -128,6 +128,8 @@ func (c *Endpoint) ClientOpts() ([]client.Opt, error) { version := os.Getenv("DOCKER_API_VERSION") if version != "" { result = append(result, client.WithVersion(version)) + } else { + result = append(result, client.WithAPIVersionNegotiation()) } return result, nil }