Skip to content

Commit

Permalink
enable docker client API version negotiation
Browse files Browse the repository at this point in the history
  • Loading branch information
greghaynes committed Dec 5, 2023
1 parent 9084ef8 commit 2303f0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/docker/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ import (
)

func GetDockerClient() (*dockerClient.Client, error) {
return dockerClient.NewClientWithOpts()
return dockerClient.NewClientWithOpts(
dockerClient.WithAPIVersionNegotiation(),
)
}

type AuxBody struct {
Expand Down

0 comments on commit 2303f0e

Please sign in to comment.