Skip to content

Commit

Permalink
set docker api version to 1.45
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladislav Zvada committed Dec 9, 2024
1 parent d6a6fd2 commit 32209fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/container/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ type Controller struct {
func NewController() (c *Controller) {
var err error
c = new(Controller)
c.cli, err = client.NewClientWithOpts(client.FromEnv)
c.cli, err = client.NewClientWithOpts(
client.FromEnv,
client.WithVersion("1.45"),
)
checkErr(err)

return
Expand Down

0 comments on commit 32209fe

Please sign in to comment.