Skip to content

Commit bc620fc

Browse files
committed
vendor: github.com/docker/docker v28.2.1
full diff: moby/moby@v28.1.1...v28.2.1 Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent e3c6618 commit bc620fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+919
-622
lines changed

driver/docker-container/driver.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
"sync/atomic"
1313
"time"
1414

15+
cerrdefs "github.com/containerd/errdefs"
1516
"github.com/docker/buildx/driver"
1617
"github.com/docker/buildx/driver/bkimage"
1718
"github.com/docker/buildx/util/confutil"
@@ -23,7 +24,6 @@ import (
2324
"github.com/docker/docker/api/types/mount"
2425
"github.com/docker/docker/api/types/network"
2526
"github.com/docker/docker/api/types/system"
26-
"github.com/docker/docker/errdefs"
2727
"github.com/docker/docker/pkg/jsonmessage"
2828
"github.com/docker/docker/pkg/stdcopy"
2929
"github.com/moby/buildkit/client"
@@ -70,7 +70,7 @@ func (d *Driver) Bootstrap(ctx context.Context, l progress.Logger) error {
7070
return progress.Wrap("[internal] booting buildkit", l, func(sub progress.SubLogger) error {
7171
_, err := d.DockerAPI.ContainerInspect(ctx, d.Name)
7272
if err != nil {
73-
if errdefs.IsNotFound(err) {
73+
if cerrdefs.IsNotFound(err) {
7474
return d.create(ctx, sub)
7575
}
7676
return err
@@ -183,7 +183,7 @@ func (d *Driver) create(ctx context.Context, l progress.SubLogger) error {
183183
}
184184
}
185185
_, err := d.DockerAPI.ContainerCreate(ctx, cfg, hc, &network.NetworkingConfig{}, nil, d.Name)
186-
if err != nil && !errdefs.IsConflict(err) {
186+
if err != nil && !cerrdefs.IsConflict(err) {
187187
return err
188188
}
189189
if err == nil {
@@ -310,7 +310,7 @@ func (d *Driver) start(ctx context.Context) error {
310310
func (d *Driver) Info(ctx context.Context) (*driver.Info, error) {
311311
ctn, err := d.DockerAPI.ContainerInspect(ctx, d.Name)
312312
if err != nil {
313-
if errdefs.IsNotFound(err) {
313+
if cerrdefs.IsNotFound(err) {
314314
return &driver.Info{
315315
Status: driver.Inactive,
316316
}, nil

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require (
1818
github.com/distribution/reference v0.6.0
1919
github.com/docker/cli v28.1.1+incompatible
2020
github.com/docker/cli-docs-tool v0.10.0
21-
github.com/docker/docker v28.1.1+incompatible
21+
github.com/docker/docker v28.2.1+incompatible
2222
github.com/docker/go-units v0.5.0
2323
github.com/gofrs/flock v0.12.1
2424
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ github.com/docker/cli-docs-tool v0.10.0/go.mod h1:5EM5zPnT2E7yCLERZmrDA234Vwn09f
115115
github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
116116
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
117117
github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
118-
github.com/docker/docker v28.1.1+incompatible h1:49M11BFLsVO1gxY9UX9p/zwkE/rswggs8AdFmXQw51I=
119-
github.com/docker/docker v28.1.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
118+
github.com/docker/docker v28.2.1+incompatible h1:aTSWVTDStpHbnRu0xBcGoJEjRf5EQKt6nik6Vif8sWw=
119+
github.com/docker/docker v28.2.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
120120
github.com/docker/docker-credential-helpers v0.9.3 h1:gAm/VtF9wgqJMoxzT3Gj5p4AqIjCBS4wrsOh9yRqcz8=
121121
github.com/docker/docker-credential-helpers v0.9.3/go.mod h1:x+4Gbw9aGmChi3qTLZj8Dfn0TD20M/fuWy0E5+WDeCo=
122122
github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c h1:lzqkGL9b3znc+ZUgi7FlLnqjQhcXxkNM/quxIjBVMD0=

vendor/github.com/containerd/errdefs/pkg/errhttp/http.go

Lines changed: 96 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/docker/docker/AUTHORS

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/docker/docker/api/common.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)