fix: allow docker api negotiation

This commit is contained in:
Stavros
2025-05-03 16:37:37 +00:00
parent 2db7795eb7
commit 58588d6663

View File

@@ -29,8 +29,13 @@ func (docker *Docker) Init() error {
return err return err
} }
// Set the context and api client // Create the context
docker.Context = context.Background() docker.Context = context.Background()
// Negotiate API version
client.NegotiateAPIVersion(docker.Context)
// Set client
docker.Client = client docker.Client = client
// Done // Done