File tree 3 files changed +9
-6
lines changed
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ require (
6
6
github.com/alecthomas/chroma/v2 v2.5.0
7
7
github.com/billgraziano/dpapi v0.4.0
8
8
github.com/docker/distribution v2.8.2+incompatible
9
- github.com/docker/docker v20.10.24 +incompatible
9
+ github.com/docker/docker v24.0.6 +incompatible
10
10
github.com/docker/go-connections v0.4.0
11
11
github.com/golang-sql/sqlexp v0.1.0
12
12
github.com/google/uuid v1.3.0
Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m3
89
89
github.com/docker/distribution v2.8.2+incompatible /go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w =
90
90
github.com/docker/docker v20.10.24+incompatible h1:Ugvxm7a8+Gz6vqQYQQ2W7GYq5EUPaAiuPgIfVyI3dYE =
91
91
github.com/docker/docker v20.10.24+incompatible /go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk =
92
+ github.com/docker/docker v24.0.6+incompatible h1:hceabKCtUgDqPu+qm0NgsaXf28Ljf4/pWFL7xjWWDgE =
93
+ github.com/docker/docker v24.0.6+incompatible /go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk =
92
94
github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ =
93
95
github.com/docker/go-connections v0.4.0 /go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec =
94
96
github.com/docker/go-metrics v0.0.1 h1:AgB/0SvBxihN0X8OR4SjsblXkbMvalQ8cjmtKQ2rQV8 =
Original file line number Diff line number Diff line change @@ -7,17 +7,18 @@ import (
7
7
"bufio"
8
8
"bytes"
9
9
"context"
10
+ "io"
11
+ "path/filepath"
12
+ "strconv"
13
+ "strings"
14
+
10
15
"github.com/docker/docker/api/types"
11
16
"github.com/docker/docker/api/types/container"
12
17
"github.com/docker/docker/api/types/filters"
13
18
"github.com/docker/docker/client"
14
19
"github.com/docker/docker/pkg/stdcopy"
15
20
"github.com/docker/go-connections/nat"
16
21
specs "github.com/opencontainers/image-spec/specs-go/v1"
17
- "io"
18
- "path/filepath"
19
- "strconv"
20
- "strings"
21
22
)
22
23
23
24
type Controller struct {
@@ -165,7 +166,7 @@ func (c Controller) ContainerStop(id string) (err error) {
165
166
panic ("Must pass in non-empty id" )
166
167
}
167
168
168
- err = c .cli .ContainerStop (context .Background (), id , nil )
169
+ err = c .cli .ContainerStop (context .Background (), id , container. StopOptions {} )
169
170
return
170
171
}
171
172
You can’t perform that action at this time.
0 commit comments