Commit Graph

55170 Commits

Author SHA1 Message Date
Sebastiaan van Stijn
76a4381d45 client: TestImageListWithSharedSize slight reformat
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-13 15:43:13 +01:00
Sebastiaan van Stijn
9af7fbff2a client: TestImageList: use subtests
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-13 15:43:13 +01:00
Sebastiaan van Stijn
7a3b88d91c Merge pull request #51500 from thaJeztah/client_rename_api_options
client: rename/deprecate WithVersion, WithVersionFromEnv
2025-11-13 15:19:08 +01:00
Sebastiaan van Stijn
4a57a8cd7c Merge pull request #51504 from vvoland/hack-check-module-replace
hack/validate: Check if replace rules are needed
2025-11-13 15:17:11 +01:00
Sebastiaan van Stijn
f95781f0d2 Merge pull request #51506 from jsternberg/vendor-buildkit
vendor: github.com/moby/buildkit v0.26.0
2025-11-13 13:59:02 +01:00
Sebastiaan van Stijn
a6b42c090b Merge pull request #51503 from vvoland/fix-apiclient-unitest
hack/test/unit: Fix api and client module testing without replace rules
2025-11-13 13:54:06 +01:00
Paweł Gronowski
391247ce96 daemon: Fix image store choice priority for prior graphdriver state
The priority order for determining image store choice was incorrect when
a prior graphdriver existed.

The issue occurred because the prior graphdriver check happened after
processing explicit driver configuration, effectively ignoring user
intent when prior state existed.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-11-13 10:05:49 +01:00
Paweł Gronowski
c5d0e3e6fa daemon: Add TestDetermineImageStoreChoice
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-11-13 10:05:49 +01:00
Jonathan A. Sternberg
17a3357e32 vendor: github.com/moby/buildkit v0.26.0
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-11-12 15:53:45 -06:00
Sebastiaan van Stijn
dae3650dcc client: rename/deprecate WithVersion, WithVersionFromEnv
Add WithAPIVersion and WithAPIVersionFromEnv to be more clear on
the intent, and to align with other related options and fields.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-12 22:39:05 +01:00
Sebastiaan van Stijn
e5db2380f5 client: rename options.go to client_options.go
Make sure the options are next to the client.go file, which use the
consumer of these options.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-12 22:39:02 +01:00
Paweł Gronowski
5cf1fb3954 hack/validate: Check if replace rules are needed
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-11-12 21:43:24 +01:00
Paweł Gronowski
0f597561e8 hack/test/unit: Fix api and client module testing without replace rules
Running sub-package tests from the root module without readding the
replace rules wasn't running the tests from the local in-tree versions
of these submodules.

Fix by cd-ing into their directories before running tests.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-11-12 21:38:59 +01:00
Albin Kerouanton
27cefe6c43 Merge pull request #51499 from thaJeztah/fix_example
client: fix example in README (align with ExampleNew())
2025-11-12 21:05:52 +01:00
Sebastiaan van Stijn
2729703967 client: fix example in README (align with ExampleNew())
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-12 20:31:04 +01:00
Sebastiaan van Stijn
8f572f33fd Merge pull request #51502 from thaJeztah/fix_imports
client: fix unused imports
2025-11-12 20:22:00 +01:00
Sebastiaan van Stijn
9824080b57 Merge pull request #51012 from tonistiigi/attestation-signature-referrers
image: pull/load/save attestation manifest and signatures with image
2025-11-12 18:04:21 +01:00
Sebastiaan van Stijn
b29990916d client: fix unused imports
this was introduced in c950796596, but
likely due to the "replace" rules not being present, CI tested the
current version of the module instead of the code in the repository.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-12 17:53:36 +01:00
Sebastiaan van Stijn
b2d01d9907 Merge pull request #51497 from thaJeztah/add_replace
go.mod: add back replace rules
2025-11-12 17:23:54 +01:00
Tonis Tiigi
47e852f061 image: pull/load/save attestation manifest and signatures with image
Updates docker pull to pull related attestation manifest and
any signatures for that manifest in cosign referrer objects.

These objects are transferred with the image when running
docker save and docker load and can be used to identify
the image in future updates.

Push is not updated atm as the currect push semantics
in containerd mode do not have correct immutability
guaranteed and don't work with image indexes.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-11-12 07:53:46 -08:00
Paweł Gronowski
70cd42fd30 Merge pull request #51493 from vvoland/c8d-build-noforceunpack
c8d/builder-next: Don't force unpack
2025-11-12 16:39:52 +01:00
Sebastiaan van Stijn
16b95ba758 go.mod: add back replace rules
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-12 15:43:16 +01:00
Paweł Gronowski
b4f9bd1cb3 c8d/builder-next: Don't force unpack
The image exporter wrapper was unconditionally setting `unpack=true` for
all build exports, preventing users from controlling this behavior
through buildkit's output image exporter option.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-11-12 14:34:12 +01:00
Paweł Gronowski
e7d7771bce Merge pull request #51483 from thaJeztah/rm_MinConnectTimeout
daemon: remove workaround for c8d client connection timeout
2025-11-12 11:01:16 +01:00
Sebastiaan van Stijn
fb2ca99227 Merge pull request #51411 from tonistiigi/update-buildkit-v0.26.0-rc1
vendor: update buildkit v0.26.0-rc2
2025-11-12 01:05:05 +01:00
Tonis Tiigi
3874ca5984 vendor: update buildkit to v0.26.0-rc2
Currently requires replace rule for swarmkit etcd.

BuildKit itself doesn't use etcd but version gets bumped
via unused dependency.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 23:15:07 +01:00
Sebastiaan van Stijn
d558896fae vendor: github.com/secure-systems-lab/go-securesystemslib v0.9.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 23:14:54 +01:00
Sebastiaan van Stijn
bb07fdcd14 vendor: github.com/Azure/azure-sdk-for-go/sdk/azcore v1.18.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 23:14:54 +01:00
Sebastiaan van Stijn
f1d0fe47c9 vendor: github.com/golang-jwt/jwt/v5 v5.3.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 23:14:54 +01:00
Sebastiaan van Stijn
79344e1c9a vendor: github.com/gofrs/flock v0.13.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 23:14:53 +01:00
Sebastiaan van Stijn
d36617d2c1 vendor: github.com/containerd/nydus-snapshotter v0.15.4
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 23:14:53 +01:00
Sebastiaan van Stijn
1e48c34345 vendor: github.com/containerd/stargz-snapshotter/estargz v0.17.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 23:14:53 +01:00
Sebastiaan van Stijn
c169cc9629 vendor: github.com/google/certificate-transparency-go v1.3.2
full diff: https://github.com/google/certificate-transparency-go/compare/v1.1.4...v1.3.2

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 23:14:53 +01:00
Sebastiaan van Stijn
940c8d6b71 vendor: cloud.google.com/go v0.121.6
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 23:14:52 +01:00
Rob Murray
dbbfb4f90d Merge pull request #51486 from locnnil/bump-docker-cli
Dockerfile: update cli to v29.0.0
2025-11-11 22:11:11 +00:00
Lincoln Wallace
621cee8dbe Dockerfile: update cli to v29.0.0
Signed-off-by: Lincoln Wallace <lincoln.wallace@canonical.com>
2025-11-11 17:09:46 -03:00
Sebastiaan van Stijn
ce739870fb vendor: github.com/opencontainers/cgroups v0.0.6
- config: switch PidsLimit to *int64
- fs2: add iocost statistics
- systemd: retry when the dbus connection returns EAGAIN
- fs: fix/improve cpuacct.usage_all parsing

full diff: https://github.com/opencontainers/cgroups/compare/v0.0.5...v0.0.6

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 19:23:01 +01:00
Sebastiaan van Stijn
7e78088f8f daemon: remove workaround for c8d client connection timeout
This workaround was added in df519e9e1a, pending
a fix in containerd;

> daemon: Fix giving up too early while connecting to containerd socket
>
> Explicitly set the gRPC connection params to take the timeout into
> account to workaround the containerd v2 client not passing down the
> stack.
>
> containerd v2 replaced usages of deprecated gRPC functions but didn't
> pass the timeout to the actual dial connection options.

A fix for this was merged in [containerd@ee574e7], which is part of containerd
v2.1.0-beta.0, and backported to containerd v2.0.4 through [containerd@6b5efba].

[containerd@ee574e7]: ee574e76e7
[containerd@6b5efba]: 6b5efba83b

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 17:55:44 +01:00
Sebastiaan van Stijn
07453d15d0 Merge pull request #51482 from thaJeztah/vendor_containerd_2.2.0
vendor: github.com/containerd/containerd/v2 v2.2.0
2025-11-11 17:35:23 +01:00
Sebastiaan van Stijn
f740e0fefa vendor: github.com/containerd/containerd/v2 v2.2.0
full diff: https://github.com/containerd/containerd/compare/v2.1.5...v2.2.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 16:13:34 +01:00
Sebastiaan van Stijn
1639703e56 vendor: github.com/containernetworking/plugins v1.8.0
full diff: https://github.com/containernetworking/plugins/compare/v1.7.1...v1.8.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 16:13:31 +01:00
Sebastiaan van Stijn
e4278c4c54 vendor: github.com/containerd/go-cni v1.1.13
full diff: https://ithub.com/containerd/go-cni/compare/v1.1.12...v1.1.13

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 16:12:25 +01:00
Sebastiaan van Stijn
7c798d012a vendor: sigs.k8s.io/yaml v1.6.0
full diff: https://github.com/kubernetes-sigs/yaml/compare/v1.4.0...v1.6.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 16:12:25 +01:00
Sebastiaan van Stijn
d8f2aa4e3b vendor: github.com/containerd/containerd/api v1.10.0
full diff: https://github.com/containerd/containerd/compare/api/v1.9.0...api/v1.10.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 16:12:24 +01:00
Sebastiaan van Stijn
1da018e2e7 Merge pull request #51461 from tonistiigi/update-swarmkit-etcd-3.6.5
vendor: github.com/moby/swarmkit/v2 v2.1.2-0.20251110192100-17b8d222e7dd
2025-11-11 16:11:22 +01:00
Sebastiaan van Stijn
81d9fdb838 Merge pull request #51477 from thaJeztah/discovery_enum
libnetwork/discoverapi: use DiscoveryType for enum
2025-11-11 15:01:25 +01:00
Sebastiaan van Stijn
b74e6fefba Merge pull request #51469 from thaJeztah/daemon_rm_deadcode
remove some dead code
2025-11-11 15:01:02 +01:00
Tonis Tiigi
0a494a7303 vendor: github.com/moby/swarmkit/v2 v2.1.2-0.20251110192100-17b8d222e7dd
Brings in etcd update to v3.6.5

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-11-11 14:58:36 +01:00
Sebastiaan van Stijn
bba948f4ab Merge pull request #51479 from thaJeztah/bump_hcsshim
vendor: github.com/Microsoft/hcsshim v0.14.0-rc.1
2025-11-11 14:43:58 +01:00
Sebastiaan van Stijn
74d4e5b382 Merge pull request #51478 from thaJeztah/bump_otel_grpc
vendor: go.opentelemetry.io/otel v1.38.0, google.golang.org/grpc v1.76.0, google.golang.org/protobuf v1.36.10
2025-11-11 14:43:34 +01:00