We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c8ec9f + 3d2e371 commit 8ee2a47Copy full SHA for 8ee2a47
internal/docker/client.go
@@ -34,7 +34,7 @@ type DockerClient struct {
34
35
// NewEnvClient initializes a new Docker API client based on environment variables
36
func NewEnvClient() (*DockerClient, error) {
37
- dockerAPICli, err := client.NewClientWithOpts(client.FromEnv, client.WithVersion("1.12"))
+ dockerAPICli, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation())
38
if err != nil {
39
return nil, errors.Wrap(err, "failed to initialize Docker API client")
40
}
0 commit comments