Skip to content

Commit

Permalink
fix: server API version negotiation
Browse files Browse the repository at this point in the history
  • Loading branch information
soedirgo committed Oct 15, 2021
1 parent d24e299 commit 8e29ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ var (
FallbackGlobalsSql []byte

Docker = func() *client.Client {
docker, err := client.NewClientWithOpts(client.FromEnv)
docker, err := client.NewClientWithOpts(client.WithAPIVersionNegotiation())
if err != nil {
fmt.Fprintln(os.Stderr, "❌ Failed to initialize Docker client.")
os.Exit(1)
Expand Down

0 comments on commit 8e29ae1

Please sign in to comment.