57413 Commits

Author SHA1 Message Date
Sebastiaan van Stijn
e456107947 Merge pull request #53330 from renovate-bot/renovate/github-codeql-action-4.x
Update github/codeql-action action to v4.37.6
2026-08-08 12:24:03 +02:00
Sebastiaan van Stijn
820b986df6 Merge pull request #53326 from renovate-bot/renovate/github.com-rootless-containers-rootlesskit-v3-3.x
Update module github.com/rootless-containers/rootlesskit/v3 to v3.1.0
2026-08-07 19:02:26 +02:00
Mend Renovate
645ac17a2a Update github/codeql-action action to v4.37.6
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-08-07 14:27:58 +00:00
Sebastiaan van Stijn
2eafd6590d Merge pull request #53266 from renovate-bot/renovate/aws-sdk-go-v2-monorepo
Update aws-sdk-go-v2 monorepo
2026-08-07 16:24:54 +02:00
Mend Renovate
f917e51f5a Update module github.com/rootless-containers/rootlesskit/v3 to v3.1.0
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-08-07 10:58:41 +00:00
Sebastiaan van Stijn
d6944e5ebb Merge pull request #53317 from arcusbuilds/fix-53267-windows-probe-timeout
Fix flaky TestHealthCheckProcessKilled on Windows
2026-08-07 02:23:13 +02:00
Sebastiaan van Stijn
e707ca3cb3 Merge pull request #53309 from vvoland/libnet-drop-scope-fallback
daemon/libnetwork: Drop legacy network scope fallback
2026-08-06 23:26:10 +02:00
Paweł Gronowski
1b08c398c3 Merge pull request #53251 from corhere/add-service-mesh-tests
libnetwork: Add service mesh tests
2026-08-06 20:31:41 +02:00
Mend Renovate
c0c87ddde1 Update aws-sdk-go-v2 monorepo
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-08-06 16:08:39 +00:00
Sebastiaan van Stijn
b520a8a3bc Merge pull request #53320 from renovate-bot/renovate/github-codeql-action-4.x
Update github/codeql-action action to v4.37.5
2026-08-06 18:04:45 +02:00
Srijan Keshri
104cdd47a6 Fix flaky TestHealthCheckProcessKilled on Windows
The probe echoes to stdout and then sleeps. The test gives it a 50ms
timeout and asserts that the timeout message carries the echoed output.

The 50ms clock starts when the exec request is accepted, not when the
probe process is running. On Windows the process still has to be
scheduled, sh has to initialize, echo has to run, and the bytes have to
reach the daemon. That often exceeds 50ms, so the probe is killed having
written nothing and the daemon reports the timeout without any output.
The assertion then fails on the missing "logs1 logs2 logs3".

Raise the Windows probe timeout to 500ms and leave Linux at 50ms,
following the same reasoning as TestHealthStartInterval in this file.

Measured on a Windows daemon built from master, Hyper-V isolation,
servercore ltsc2022, 30 iterations per value:

  50ms:   14/30 failed
  200ms:   0/30 failed
  500ms:   0/30 failed
  2s:      0/30 failed

Linux, 5 iterations: unchanged, all pass in about 1s.

Signed-off-by: Srijan Keshri <srijankeshri007@gmail.com>
2026-08-06 21:13:32 +05:30
Sebastiaan van Stijn
983bc7b75c Merge pull request #53240 from renovate-bot/renovate/github.com-moby-swarmkit-v2-digest
fix(deps): update github.com/moby/swarmkit/v2 digest to 3e72cb6
2026-08-06 17:30:17 +02:00
Sebastiaan van Stijn
b0df7c58a6 Merge pull request #53275 from renovate-bot/renovate/google.golang.org-grpc-1.x
Update module google.golang.org/grpc to v1.83.0
2026-08-06 16:52:12 +02:00
Sebastiaan van Stijn
cb0a10bdfc Merge pull request #53301 from corhere/nft-interval-maps
libnetwork: improve support for interval maps
2026-08-06 16:50:28 +02:00
Paweł Gronowski
fa8a8d858f Merge pull request #53311 from vvoland/gha-windoss-setup
gha/windows: Share test daemon setup
2026-08-06 16:43:12 +02:00
Paweł Gronowski
0943833b1b gha/windows: Share test daemon setup
Move the service removal, daemon registration, environment setup, and
readiness checks into a composite action.

Pass the containerd, runtime, and storage modes explicitly so other
Windows integration workflows can use the same daemon configuration.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-08-06 14:53:37 +02:00
Paweł Gronowski
19cb873e94 gha/windows: Explain test daemon service replacement
Current GitHub Windows runner images install Docker CE through
`install-docker-ce.ps1`, not as a PowerShell PackageManagement package.
`Uninstall-Package -Name docker` therefore cannot be relied on to find
or remove the installed engine.

The workflow only needs to free the `docker` service name before
registering its test daemon. Keep removing the service directly and
update the comment to explain why this narrower operation is used.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-08-06 14:53:36 +02:00
Sebastiaan van Stijn
12fcb4ba0a Merge pull request #53302 from corhere/nft-counters
d/libn/i/nftables: add counters to named maps, sets
2026-08-06 14:46:10 +02:00
Mend Renovate
4ce375136a Update github/codeql-action action to v4.37.5
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-08-06 12:43:04 +00:00
Sebastiaan van Stijn
94b9787c42 Merge pull request #53294 from vvoland/bump-version
versions/docker: 29.8.0
2026-08-06 14:39:25 +02:00
Paweł Gronowski
6a43e3d5af Merge pull request #53305 from thaJeztah/bump_go_archive_0.3.3
vendor: github.com/moby/go-archive v0.3.3
docker-v29.7.2
2026-08-05 20:24:27 +02:00
Paweł Gronowski
548178fb58 Merge pull request #53304 from vvoland/bimimg-oidc
gha/bin-image: Use OIDC to publish to Docker Hub
2026-08-05 18:06:56 +02:00
Sebastiaan van Stijn
2a3ab8fcc0 vendor: github.com/moby/go-archive v0.3.3
- Fix a regression introduced in v0.3.0 that caused archive extraction
  to reject hardlinks with absolute targets, as produced by some image
  builders. Absolute hardlink targets are now resolved relative to the
  extraction root, while paths that escape the root remain rejected.
- Fix a regression introduced in v0.3.0 that caused archive extraction
  to fail when applying permissions to device nodes, including nodes on
  `nodev` filesystems and `dev/ptmx`. Device nodes are now referenced
  without opening the underlying device before applying their mode.
- Set close-on-exec on file descriptors used by the Linux permission
  fallback to prevent them from leaking into child processes.

full diff: https://github.com/moby/go-archive/compare/v0.3.2...v0.3.3

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-08-05 17:45:49 +02:00
Sebastiaan van Stijn
ee7c2c635d Merge pull request #53308 from thaJeztah/tar_options
daemon: prepare archive options before entering container filesystem
2026-08-05 15:02:27 +02:00
Paweł Gronowski
f7f0a0ed92 daemon/libnetwork: Drop legacy network scope fallback
Network records have persisted a non-empty scope since January 2016. The
store therefore no longer needs to replace a missing persisted value
with `scope.Local`.

Load the persisted scope directly while still supplying the controller
before the datastore publishes the network. The default for newly
constructed networks remains in the driver path.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-08-05 14:41:03 +02:00
Sebastiaan van Stijn
279ddd282f daemon: prepare archive options before entering container filesystem
Create the default archive options before entering the container filesystem,
and refactor container-specific ownership handling into
applyTarCopyOptions.

Keep user and group resolution inside the container filesystem so lookups
continue to use the container's passwd and group files.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-08-05 13:40:34 +02:00
Paweł Gronowski
1995fe2e6f gha/bin-image: Use OIDC to publish to Docker Hub
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-08-05 13:18:14 +02:00
Paweł Gronowski
bdff906f4e Update docker/github-builder action to v1.16.0
It includes a fix which skips registry identity validation when image
pushes are disabled.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-08-05 13:17:32 +02:00
Paweł Gronowski
5795b9c9cd Merge pull request #53295 from renovate-bot/renovate/github.com-aws-smithy-go-1.x
Update module github.com/aws/smithy-go to v1.27.6
2026-08-05 13:01:22 +02:00
Mend Renovate
636b9273d8 fix(deps): update github.com/moby/swarmkit/v2 digest to 3e72cb6
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-08-04 20:41:46 +00:00
Sebastiaan van Stijn
3d1c758e92 Merge pull request #53263 from rzlink/rzlink/fix-47107-unskip-build-symlink-breakout
integration-cli: unskip TestBuildSymlinkBreakout
2026-08-04 22:39:21 +02:00
Paweł Gronowski
21e8f5695f Merge pull request #53303 from corhere/nft-chain-trailing-semicolon
d/libn/i/nftables: add trailing semicolon
2026-08-04 19:18:55 +02:00
Cory Snider
f7d143ece0 d/libn/i/nftables: add Batch and a map-element delete-func
Add MapElementDeleteFunc, which deletes every element of a named map that
a predicate selects. The elements to remove are selected from the map's
contents when the change is applied. That lets a caller replace
whichever of a map's elements are currently its own without keeping a
record of what it wrote last time. The predicate is given the whole
element, so the comment can carry metadata to select on, such as which
caller owns it.

"Whatever happens to match" has no inverse to roll back to, so commands
are now resolved into individually reversible operations as they're
applied, rather than each being one such operation.

That makes it possible for a command to have no inverse at all, so split
the type that holds them in two: a Modifier still takes only object
creations and deletions and can therefore always be reversed, while a
Batch takes any Cmd and has no Reverse method. Table.Apply accepts
either.

Signed-off-by: Cory Snider <csnider@mirantis.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-04 12:30:32 -04:00
Cory Snider
3fd61f9464 d/libn/i/nftables: delete and replace map element
Support atomically replacing an element of an interval map by deleting
the existing key and adding a replacement element with the same key.
This is necessary to support updating interval maps as nftables rejects
an `add element` whose key overlaps the interval of an existing key with
EEXIST, even when the intervals are identical.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2026-08-04 12:30:16 -04:00
Cory Snider
ea57cdf1c7 d/libn/i/nftables: add trailing semicolon
The syntax for specifying the parameters of a base chain is documented
to have a mandatory semicolon terminating each parameter clause. In
practice, nft sometimes accepts a chain definition with a newline
instead of a semicolon after the terminal parameter, only to reject the
rules that follow with strange errors. Add trailing semicolons to the
policy parameters of base chain definitions to satisfy the parsers of
all versions of nft we might encounter.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2026-08-04 12:22:09 -04:00
Cory Snider
2964cf0770 d/libn/i/nftables: add counters to named maps, sets
Signed-off-by: Cory Snider <csnider@mirantis.com>
2026-08-04 12:19:03 -04:00
Sebastiaan van Stijn
b0d9b6657d Merge pull request #53300 from crazy-max/buildkit-0.32.2
vendor: update buildkit to v0.32.2
2026-08-04 17:29:55 +02:00
CrazyMax
842a7aecc6 vendor: update buildkit to v0.32.2
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-08-04 15:31:41 +02:00
Paweł Gronowski
582d1cf3c4 Merge pull request #53297 from thaJeztah/bump_tools
Dockerfile: update CLI to v29.7.1, buildx v0.36.0, compose v5.4.0
2026-08-04 14:45:50 +02:00
Sebastiaan van Stijn
171c9b4d78 Dockerfile: update compose to v5.4.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-08-04 12:55:51 +02:00
Sebastiaan van Stijn
ee19f13a50 Dockerfile: update buildx to v0.36.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-08-04 12:55:51 +02:00
Sebastiaan van Stijn
b8cedded05 Dockerfile: update Docker CLI to v29.7.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-08-04 12:55:50 +02:00
Mend Renovate
968a4edf95 Update module github.com/aws/smithy-go to v1.27.6
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-08-03 21:53:24 +00:00
Paweł Gronowski
47fd34acf9 versions/docker: 29.8.0
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-08-03 19:03:28 +02:00
Paweł Gronowski
6719bc3c8d Merge pull request #53292 from vvoland/fix-flaky-swarmdaemon
integration-cli: Keep Swarm cleanup failures from blocking tests
2026-08-03 18:16:43 +02:00
Sebastiaan van Stijn
d6ec816223 Merge pull request #53289 from thaJeztah/validate_trigger_happy
ci: validate-pr: limit checks to relevant events
2026-08-03 18:03:22 +02:00
Paweł Gronowski
021b11c1da Merge pull request #53281 from thaJeztah/fix_stackoverflow
daemon/pkg/opts: fix recursive NRI JSON decoding on go1.27 (JSON v2)
2026-08-03 17:17:57 +02:00
Paweł Gronowski
d096010b67 Merge pull request #53290 from crazy-max/buildkit-0.32.1
vendor: update buildkit to v0.32.1
2026-08-03 17:17:16 +02:00
Paweł Gronowski
0feb69afe1 integration-cli: Keep Swarm cleanup failures from blocking tests
Swarm suite teardown stopped daemons while holding daemonsLock. A
nonzero daemon exit made Stop call Fatalf, so the test goroutine left
the mutex locked and retained stale daemons for the next test.

Snapshot and clear suite state under the lock, then stop each daemon
in its own cleanup subtest. A failed stop now releases suite state,
cleanup still runs for that daemon, and teardown continues with the
remaining daemons.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-08-03 16:58:01 +02:00
Sebastiaan van Stijn
72e759c6c9 ci: validate-pr: scope concurrency to individual jobs
Use per-job concurrency groups so that a pull-request event only cancels an
older instance of the same validation job.

Previously, an event such as adding a label could cancel the entire workflow
run, including unrelated checks that are skipped by the replacement run.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-08-03 16:07:22 +02:00