Paweł Gronowski
2c66ddf907
vendor: github.com/moby/buildkit v0.27.0-rc1
...
full diff: https://github.com/moby/buildkit/compare/d1e5d1a8f771...v0.27.0-rc1
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2026-01-16 09:31:46 +01:00
Sebastiaan van Stijn
2fe5e8e04a
vendor: github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.3
...
full diff: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.2...v2.27.3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 15:50:14 +01:00
Sebastiaan van Stijn
4a0f9759f9
vendor: github.com/jmoiron/sqlx v1.4.0
...
full diff: https://github.com/jmoiron/sqlx/compare/v1.3.3...v1.4.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 15:50:14 +01:00
Sebastiaan van Stijn
39e6e582c6
vendor: github.com/spdx/tools-golang v0.5.7
...
full diff: https://github.com/spdx/tools-golang/compare/v0.5.5...v0.5.7
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 15:50:13 +01:00
Sebastiaan van Stijn
eb31710061
vendor: github.com/prometheus/procfs v0.17.0
...
full diff: https://github.com/prometheus/procfs/compare/v0.16.1...v0.17.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 15:50:13 +01:00
Sebastiaan van Stijn
3684a9cfc4
vendor: github.com/hashicorp/go-sockaddr v1.0.7
...
full diff: https://github.com/hashicorp/go-sockaddr/compare/v1.0.2...v1.0.7
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 15:50:13 +01:00
Sebastiaan van Stijn
184ee84190
vendor: github.com/containerd/nydus-snapshotter v0.15.10
...
full diff: https://github.com/containerd/nydus-snapshotter/compare/v0.15.4...v0.15.10
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 15:50:13 +01:00
Sebastiaan van Stijn
dc46ee9e1c
vendor: github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0
...
full diff: https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.18.2...sdk/azcore/v1.20.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 15:50:12 +01:00
Sebastiaan van Stijn
54c9a0f6c4
vendor: github.com/aws/aws-sdk-go-v2/config v1.31.20
...
full diff: https://github.com/aws/aws-sdk-go-v2/compare/config/v1.31.15...config/v1.31.20
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 13:00:07 +01:00
Sebastiaan van Stijn
3ebfc369cb
vendor: github.com/aws/aws-sdk-go-v2/credentials v1.18.24
...
full diff: https://github.com/aws/aws-sdk-go-v2/compare/credentials/v1.18.19...credentials/v1.18.24
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 13:00:07 +01:00
Sebastiaan van Stijn
2a87c9af9d
vendor: github.com/aws/aws-sdk-go-v2 v1.39.6
...
full diff: https://github.com/aws/aws-sdk-go-v2/compare/v1.39.4...v1.39.6
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 13:00:07 +01:00
Sebastiaan van Stijn
18ea00a638
vendor: github.com/aws/smithy-go v1.23.2
...
full diff: https://github.com/aws/smithy-go/compare/v1.23.1...v1.23.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 13:00:06 +01:00
Sebastiaan van Stijn
8ff4021564
vendor: github.com/sirupsen/logrus v1.9.4
...
Notable changes:
- go.mod: update minimum supported go version to v1.17.
- go.mod: bump up dependencies.
- Touch-up godoc and add "doc" links.
- README: fix links, grammar, and update examples.
- Add GNU/Hurd support.
- Add WASI wasip1 support.
- Remove uses of deprecated `ioutil` package.
- CI: update actions and golangci-lint.
- CI: remove appveyor, add macOS.
full diff: https://github.com/sirupsen/logrus/compare/v1.9.3...v1.9.4
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-15 11:32:35 +01:00
Paweł Gronowski
4d09d8c7b8
Merge pull request #51756 from tonistiigi/20251217-update-buildkit
...
vendor: update buildkit to d1e5d1a8f771 (master / v0.27.0-dev)
2026-01-12 16:51:43 +00:00
Cory Snider
9ebbf652bd
client: do not modify user-provided HTTP client
...
The http.Client passed into client.WithHTTPClient() is modified by the
constructor in-place: the value of its Transport field is mutated and
wrapped in an OpenTelemetry decorator. This can lead to very surprising
behaviour when a second client is constructed reusing the same
http.Client value. If the http.Client is configured for TLS, the second
client will fail to detect that and will incorrectly dial the Engine API
socket as cleartext HTTP. Copy the provided http.Client so our
modifications don't leak out to unexpected places.
Signed-off-by: Cory Snider <csnider@mirantis.com >
2026-01-06 18:14:13 -05:00
Michael Smithhisler
06704ef904
client: use stop function to deregister context.AfterFunc
...
Signed-off-by: Michael Smithhisler <smithhisler.mike@gmail.com >
2026-01-05 08:24:48 -05:00
Sebastiaan van Stijn
9176746aba
vendor: github.com/tetratelabs/wazero v1.11.0
...
- Streamline build tags: remove tinygo, cgo
- Fix race condition in refCount initialization
- Simplify utimens. Use `syscall.UtimesNano` to avoid a macOS `go:linkname`.
- Change version policy to two versions.
- Update Wasm 2.0 spec tests.
- Use golang.org/x/sys
full diff: https://github.com/tetratelabs/wazero/compare/v1.10.1...v1.11.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-22 15:06:09 +01:00
Sebastiaan van Stijn
2a9eb66ddc
vendor: github.com/moby/go-archive v0.2.0
...
- remove aliases for deprecated types and functions
- chrootarchive: remove redundant "init" mitigation for CVE-2019-14271
- xattr: Fix OS matching
full diff: https://github.com/moby/go-archive/compare/v0.1.0...v0.2.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-19 19:18:51 +01:00
Paweł Gronowski
91da4a7e8a
Merge pull request #51763 from thaJeztah/client_linting
...
client: fix linting issues
2025-12-18 20:45:58 +00:00
Sebastiaan van Stijn
168e8418b7
Merge pull request #51599 from thaJeztah/bump_cgroups
...
vendor: github.com/containerd/containerd/v2 v2.2.1, github.com/opencontainers/runtime-spec v1.3.0
2025-12-18 21:10:51 +01:00
Austin Vazquez
0f0d197d78
Merge pull request #51760 from thaJeztah/fix_godoc
...
api/types/jsonstream: Message: fix godoc
2025-12-18 13:07:27 -06:00
Sebastiaan van Stijn
b293e73bdb
vendor: github.com/containerd/containerd/v2 v2.2.1
...
adds compatibility with runtime-spec v1.3.0
full diff: https://github.com/containerd/containerd/compare/v2.2.0...v2.2.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-18 19:59:07 +01:00
Sebastiaan van Stijn
01440122f2
vendor: github.com/containerd/nri v0.11.0
...
- adds compatibility with runtime-spec v1.3.0
- adds `nri_no_wasm` build-tag to compile without wasm support
- adds `ErrWasmDisabled` error
full diff: https://github.com/containerd/nri/compare/v0.10.0...v0.11.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-18 19:55:59 +01:00
Sebastiaan van Stijn
32d4f64a65
vendor: github.com/opencontainers/runtime-tools v0.9.1-0.20251114084447-edf4cb3d2116
...
adds compatibility with runtime-spec v1.3.0
full diff: e5b4542027...edf4cb3d21
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-18 19:55:59 +01:00
Sebastiaan van Stijn
2c533f9327
vendor: github.com/containerd/cgroup/v3 v3.1.2
...
- hugetlb: correctly parse hugetlb.<size>.events files
- go.mod: github.com/opencontainers/runtime-spec v1.3.0
full diff: https://github.com/containerd/cgroups/compare/v3.1.0...v3.1.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-18 19:55:58 +01:00
Sebastiaan van Stijn
4b4223a8d4
vendor: github.com/opencontainers/runtime-spec v1.3.0
...
This includes a breaking change in pids.Limit changing to a pointer.
full diff: https://github.com/opencontainers/runtime-spec/compare/v1.2.1...v1.3.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-18 19:55:56 +01:00
Sebastiaan van Stijn
7b74376ff1
client: testRoundTripper: remove unused skipConfigureTransport method
...
This was added in a315437e1c , likely because
I tried to do some interface matching, but currently it doesn't look to
be implementing one, so we can remove it.
client/client_options.go:136:25: func testRoundTripper.skipConfigureTransport is unused (unused)
func (testRoundTripper) skipConfigureTransport() bool { return true }
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-18 17:11:23 +01:00
Sebastiaan van Stijn
e254a9f0f1
client: containerDiskUsageFromLegacyAPI: make switch exhaustive
...
client/system_disk_usage.go:275:3: missing cases in switch of type container.ContainerState: container.StateCreated, container.StateRemoving, container.StateExited, container.StateDead (exhaustive)
switch c.State {
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-18 17:11:23 +01:00
Sebastiaan van Stijn
8f3bfa3f34
client: fix missing import aliases (importas)
...
client/container_exec.go:8:2: import "github.com/containerd/errdefs" imported without alias but must be with alias "cerrdefs" according to config (importas)
"github.com/containerd/errdefs"
^
client/container_exec_test.go:9:2: import "github.com/containerd/errdefs" imported without alias but must be with alias "cerrdefs" according to config (importas)
"github.com/containerd/errdefs"
^
client/container_rename.go:8:2: import "github.com/containerd/errdefs" imported without alias but must be with alias "cerrdefs" according to config (importas)
"github.com/containerd/errdefs"
^
client/pkg/security/security_opts_test.go:8:2: import "gotest.tools/v3/assert/cmp" imported without alias but must be with alias "is" according to config (importas)
"gotest.tools/v3/assert/cmp"
^
client/volume_prune.go:9:2: import "github.com/containerd/errdefs" imported without alias but must be with alias "cerrdefs" according to config (importas)
"github.com/containerd/errdefs"
^
client/volume_prune_test.go:8:2: import "github.com/containerd/errdefs" imported without alias but must be with alias "cerrdefs" according to config (importas)
"github.com/containerd/errdefs"
^
client/container_exec_test.go:10:2: ST1019(related information): other import of "github.com/containerd/errdefs" (staticcheck)
cerrdefs "github.com/containerd/errdefs"
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-18 15:27:34 +01:00
Sebastiaan van Stijn
0fd5cc134b
api/types/jsonstream: Message: fix godoc
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-18 15:04:27 +01:00
Sebastiaan van Stijn
6c845ded18
api/types/swarm: ResourceRequirements.MemorySwappiness: fix json tag
...
types/swarm/task.go:151:2: structtag: struct field tag `json:MemorySwappiness,omitzero"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
MemorySwappiness *int64 `json:MemorySwappiness,omitzero"`
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-18 15:03:13 +01:00
Tonis Tiigi
f005e1cb73
vendor: update buildkit to d1e5d1a8f771 (master / v0.27.0-dev)
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-18 14:06:45 +01:00
Nicolas De Loof
aef5d996ce
use mime-type application/jsonl to align with openapi 3.2
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-17 11:37:48 +01:00
Jonathan A. Sternberg
c63bf203bf
vendor: github.com/moby/buildkit v0.26.3
...
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com >
2025-12-16 14:21:57 -06:00
Sebastiaan van Stijn
366044fc20
vendor: github.com/spf13/cobra v1.10.2
...
Migrate from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3
full diff: https://github.com/spf13/cobra/compare/v1.10.1...v1.10.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-16 16:12:07 +01:00
Rob Murray
54a6ec374a
Update client MaxAPIVersion to 1.53
...
The daemon's MaxAPIVersion was updated in commit f6b1488 .
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-12-16 11:03:58 +00:00
Brian Goff
2ec5bdfaf6
Merge pull request #51666 from ndeloof/swagger
...
simplify swagger generation
2025-12-15 08:13:20 -08:00
Rob Murray
7c7a626e5d
NRI: include in API Info response
...
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-12-15 10:36:05 +00:00
Sebastiaan van Stijn
52f33797f3
vendor: github.com/opencontainers/runtime-tools v0.9.1-0.20251111083745-e5b454202754
...
last commit before it updated to runtime-spec v1.3.0
full diff: 0ea5ed0382...e5b4542027
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-12 14:45:48 +01:00
Sebastiaan van Stijn
413b4afcba
vendor: github.com/tetratelabs/wazero v1.10.1
...
full diff: https://github.com/tetratelabs/wazero/compare/v0.9.0...v1.10.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-12 10:33:55 +01:00
Nicolas De Loof
caaa9c9bb5
simplify swagger generation
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2025-12-12 09:19:50 +01:00
Rob Murray
322dda3908
NRI: add TestNRIContainerCreateEnvVarMod
...
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-12-10 10:30:49 +00:00
Rob Murray
4941b36883
NRI: import containerd's NRI adaptation package
...
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-12-08 16:09:31 +00:00
Sebastiaan van Stijn
29560eacda
go.mod: add back replace rules
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-05 16:10:28 +01:00
Sebastiaan van Stijn
4b8f9dd251
vendor: github.com/klauspost/compress v1.18.2
...
No changes in vendored code
Fixes a regression in v1.18.1 that resulted in invalid flate/zip/gzip encoding.
The v1.18.1 tag has been retracted.
full diff: https://github.com/klauspost/compress/compare/v1.18.1...v1.18.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-12-02 16:45:38 +01:00
Rob Murray
f745fe7f14
vendor: client/0.2.0
...
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-11-27 14:05:10 +00:00
Sebastiaan van Stijn
04ab3d562c
client: don't downgrade when failing to negotiate
...
Historically, the client would downgrade to API v1.24 when failing
to negotiate as this was the API version from before API-version
negotiation was introduced.
Given that those daemons are EOL and those API versions no longer
supported, we should not fall back to an older API version, and
just continue using the latest / current version.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-27 13:52:27 +01:00
Sebastiaan van Stijn
189942570a
client: enable API-version negotiation by default
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-27 13:52:27 +01:00
Sebastiaan van Stijn
e752ec0f8e
client: fix typo in comment
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-27 13:52:24 +01:00
Sebastiaan van Stijn
45c9f460b8
client: checkResponseErr: don't read body for HEAD requests
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-27 12:05:26 +01:00