Paweł Gronowski
c592d02dfc
Merge pull request #51594 from thaJeztah/bump_x_deps
...
vendor: update various golang.org/x/xxx dependencies
2025-11-26 17:28:55 +01:00
Rob Murray
baf59d62d6
Merge pull request #51592 from robmry/sbleave_gw_config_error
...
Suppress errors from gateway re-config when disconnecting a network
2025-11-26 16:07:41 +00:00
Paweł Gronowski
b68e277ae8
Merge pull request #50903 from dmcgowan/c8d-fix-window-migration-panic
...
Fix panic on Windows when containerd is not enabled and snapshotter is
2025-11-26 15:58:31 +01:00
Rob Murray
163cc95aea
Add TestGatewayErrorOnNetDisconnect
...
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-11-26 14:45:18 +00:00
Rob Murray
8f2aa3e0f5
Network disconnect: log rather than error on gateway update
...
During a network disconnect, log rather than returning an error
if it's not possible to set up a new gateway.
This restores the behaviour from before commit 53390f8 ("Put
clearNetworkResources() inline in its only caller"). It's not
ideal, but by the time new gateways are selected the old
endpoint has been disconnected - and nothing puts things back.
Until that's cleaned up, a broken state is inevitable, but
letting endpoint deletion complete means the container can
be restarted or re-connected to the network without a zombie
endpoint causing further issues.
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-11-26 14:45:18 +00:00
Derek McGowan
e4a1657762
Check containerd client before using on Windows
...
Throw an error if the containerd snapshotter is enabled on Windows but
containerd has not been configured. This fixes a panic in this case when
trying to use an uninitialized client.
Signed-off-by: Derek McGowan <derek@mcg.dev >
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2025-11-26 15:40:08 +01:00
Sebastiaan van Stijn
b1dccad684
Merge pull request #51593 from thaJeztah/bump_circl
...
vendor: github.com/cloudflare/circl v1.6.1
2025-11-26 15:03:32 +01:00
Sebastiaan van Stijn
a3916290da
vendor: golang.org/x/mod v0.30.0
...
full diff: https://github.com/golang/mod/compare/v0.29.0...v0.30.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-26 14:31:44 +01:00
Sebastiaan van Stijn
10d68d4399
vendor: golang.org/x/net v0.47.0
...
full diff: https://github.com/golang/net/compare/v0.46.0...v0.47.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-26 14:15:14 +01:00
Sebastiaan van Stijn
633acaa5b3
vendor: golang.org/x/crypto v0.44.0
...
full diff: https://github.com/golang/crypto/compare/v0.43.0...v0.44.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-26 14:14:35 +01:00
Sebastiaan van Stijn
e4900958c3
vendor: golang.org/x/text v0.31.0
...
full diff: https://github.com/golang/text/compare/v0.30.0...v0.31.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-26 14:09:23 +01:00
Sebastiaan van Stijn
bd79eb0da5
vendor: golang.org/x/tools v0.38.0
...
full diff: https://github.com/golang/tools/compare/v0.37.0...v0.38.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-26 14:08:41 +01:00
Sebastiaan van Stijn
421bda22d1
vendor: golang.org/x/sync v0.18.0
...
full diff: https://github.com/golang/sync/compare/v0.17.0...v0.18.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-26 13:43:51 +01:00
Sebastiaan van Stijn
3054fdd8b2
vendor: golang.org/x/sys v0.38.0
...
- cpu: add HPDS, LOR, PAN detection for arm64
- cpu: also use MRS instruction in getmmfr1
- cpu: use MRS instruction to read arm64 system registers
- unix: add consts for ELF handling
- unix: add SetMemPolicy and its mode/flag values
- unix: add SizeofNhmsg and SizeofNexthopGrp
- windows: add iphlpapi routing functions
full diff: https://github.com/golang/sys/compare/v0.37.0...v0.38.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-26 13:39:03 +01:00
Sebastiaan van Stijn
997837376a
vendor: github.com/cloudflare/circl v1.6.1
...
- fixes [GHSA-2x5j-vhc8-9cwm]: CIRCL-Fourq: Missing and wrong validation
can lead to incorrect results
full diff: https://github.com/cloudflare/circl/compare/v1.6.0...v1.6.1
[GHSA-2x5j-vhc8-9cwm]: https://github.com/cloudflare/circl/security/advisories/GHSA-2x5j-vhc8-9cwm
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-11-26 13:30:29 +01:00
Rob Murray
5512eea3d0
Merge pull request #51559 from 2003Aditya/TestAPIImagesSaveAndLoad
...
migrate TestAPIImagesSaveAndLoad to integration test
2025-11-26 12:11:14 +00:00
Rob Murray
a3c29e8996
Merge pull request #51455 from smerkviladze/add-windows-integration-tests
...
integration: add Windows network driver and isolation tests
2025-11-26 11:42:54 +00:00
Rob Murray
4a166c7316
Merge pull request #51459 from 2003Aditya/contributing-docs
...
docs: update contributing guides for clarity and consistency (#49891 )
2025-11-26 10:57:39 +00:00
Sopho Merkviladze
5a5d5b4c5f
integration: add Windows network driver and isolation tests
...
Add integration tests for Windows container functionality focusing on network drivers and container isolation modes.
Signed-off-by: Sopho Merkviladze <smerkviladze@mirantis.com >
2025-11-26 13:35:19 +04:00
Rob Murray
18d2a08fcf
Merge pull request #51587 from robmry/unmap_ipv6_addr
...
Unmap() more netip.Addr vars created from slices
2025-11-25 19:30:27 +00:00
Rob Murray
731ae07e65
Endpint.sbLeave: when deleting container, no new gateway
...
When the endpoint providing a container's default gateway
is removed, there's no need to select a new gateway if the
container is being removed.
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-11-25 18:11:07 +00:00
Albin Kerouanton
03797acd88
Merge pull request #51586 from robmry/ep_options_exposed_ports
...
PublishAllPorts: create port mappings for exposed ports
2025-11-25 18:21:59 +01:00
Rob Murray
abd4c104dc
Merge pull request #51526 from robmry/refactor-create-mounts
...
Refactor Daemon.create - prep for call to NRI plugin
2025-11-25 16:13:57 +00:00
Rob Murray
56dda25227
Merge pull request #51507 from zhangguanzhang/fix-pause-restart
...
libnet: setupDNS: don't overwrite user-modified resolv.conf
2025-11-25 13:53:10 +00:00
zhangguanzhang
7639e193ff
libnet: setupDNS: don't overwrite user-modified resolv.conf
...
Call resolvconf.UserModified() in sandbox.setupDNS() to check if
resolv.conf was manually modified before regenerating it during
container restart for non-host network modes.
Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com >
Signed-off-by: Albin Kerouanton <albin.kerouanton@docker.com >
2025-11-25 20:32:40 +08:00
Albin Kerouanton
eb18b398d4
libnet: rebuildDNS: update the hash file
...
Signed-off-by: Albin Kerouanton <albin.kerouanton@docker.com >
2025-11-25 11:51:27 +01:00
Albin Kerouanton
937246a868
libnet: populateNetworkResourcesOS: updateDNS only if !needResolver
...
When ep.needResolver() is true, sb.startResolver() calls sb.rebuildDNS()
which doesn't update the resolv.conf hash file.
Subsequent calls to sb.updateDNS() (which is only called by
populateNetworkResourcesOS) won't have any effect since it'll compare
the hash file and consider that the file was manually modified.
Make this explicit by gating the call to updateDNS() on !needResolver().
Signed-off-by: Albin Kerouanton <albin.kerouanton@docker.com >
2025-11-25 11:43:36 +01:00
Rob Murray
85b260fba8
PublishAllPorts: create port mappings for exposed ports
...
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-11-24 20:38:46 +00:00
Brian Goff
f7ccfed3f3
Merge pull request #51572 from corhere/otelcol-windows
...
.github: capture OTEL trace spans from all processes
2025-11-24 10:38:07 -08:00
Rob Murray
a2de9bb334
Unmap more netip.Addr vars created using AddrFromSlice
...
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-11-24 16:51:14 +00:00
Rob Murray
9907ded7df
Merge pull request #51577 from robmry/static-ip-no-configured-subnet
...
Allow configured address with no configured subnet
2025-11-24 16:37:27 +00:00
Rob Murray
2effc1bfd4
inspect: unmap IPv6-mapped IPv4 host address
...
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-11-24 16:29:32 +00:00
Rob Murray
84a251d039
Allow configured address with no configured subnet
...
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-11-24 14:14:27 +00:00
Rob Murray
7e14b4d931
Update docker-py in test-docker-py
...
Pick up fixes for:
- test_create_with_ipv6_address
- test_connect_with_ipv6_address
65f7f0c..df3f8e2
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-11-24 14:14:00 +00:00
Cory Snider
517ae20be8
.github: collect all the OTEL traces
...
Jaeger does not make it easy to dump all the collected trace spans from
all services at once. Switch to using the OpenTelemetry Collector with
the OTLP File exporter which writes the traces straight to disk in a
format that Jaeger UI can natively consume.
Signed-off-by: Cory Snider <csnider@mirantis.com >
2025-11-21 18:12:25 -05:00
Brian Goff
6e52828ec3
Merge pull request #51517 from corhere/opencensus-bridge
...
daemon: install OpenCensus-to-OTEL trace bridge
2025-11-20 11:07:51 -08:00
Paweł Gronowski
45169d5784
Merge pull request #51571 from tonistiigi/update-buildkit-v0.26.2
...
vendor: update buildkit to v0.26.2
2025-11-20 16:22:10 +00:00
Tonis Tiigi
54d269a3b4
vendor: update buildkit to v0.26.2
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-11-20 13:27:49 +00:00
2003Aditya
442f0115cd
docs: update contributing guides for clarity and consistency ( #49891 )
...
Signed-off-by: Aditya Mishra <mishraaditya675@gmail.com >
2025-11-20 18:03:02 +05:30
Aditya Mishra
93825e00e8
migrate TestAPIImagesSaveAndLoad to integration test
...
Signed-off-by: Aditya Mishra <mishraaditya675@gmail.com >
2025-11-20 17:39:10 +05:30
Sebastiaan van Stijn
814cc31ff3
Merge pull request #51557 from robmry/replace_lock_in_remote_nw_driver
...
Remote nw driver: restore missing nwEndpointsMu.Lock
2025-11-19 16:35:48 +00:00
Rob Murray
ed10b98506
Restore missing nwEndpointsMu.Lock
...
- introduced by 4f7afb8 (Remove libnet's logic to track a driver's
port mapping state)
Signed-off-by: Rob Murray <rob.murray@docker.com >
2025-11-18 15:38:48 +00:00
Sebastiaan van Stijn
c36b8ddd57
Merge pull request #51550 from 2003Aditya/TestAPIGetEnabledCORS
...
integration: migrate TestAPIGetEnabledCORS to integration test
2025-11-18 13:25:10 +00:00
Aditya Mishra
9fbc9d6e6d
integration: migrate TestAPIGetEnabledCORS to integration test
...
Signed-off-by: Aditya Mishra <mishraaditya675@gmail.com >
2025-11-18 12:20:20 +05:30
Paweł Gronowski
41ff290929
Merge pull request #51551 from tonistiigi/update-buildkit-v0.26.1
...
vendor: update buildkit to v0.26.1
docker-v29.1.0-rc.1
2025-11-17 17:28:30 +00:00
Paweł Gronowski
33e967575d
Merge pull request #51549 from thaJeztah/rm_TestVolumeCLINoArgs
...
integration-cli: remove TestVolumeCLINoArgs
2025-11-17 17:03:43 +00:00
Paweł Gronowski
931784650d
Merge pull request #51533 from thaJeztah/client_refactor_negotiate
...
client: simplify logic for manual vs auto API versions
2025-11-17 16:39:11 +00:00
Tonis Tiigi
774bb532f1
vendor: update buildkit to v0.26.1
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-11-17 16:16:43 +00:00
Paweł Gronowski
46e28a284a
Merge pull request #51539 from thaJeztah/fix_content_type
...
client: Client.buildRequest: fix content-type handling
2025-11-17 16:14:49 +00:00
Sebastiaan van Stijn
237446a25d
Merge pull request #51548 from thaJeztah/improve_TestTLSCloseWriter
...
client: TestTLSCloseWriter: assorted cleanups / fixes
2025-11-17 11:17:22 +01:00