Commit Graph

55643 Commits

Author SHA1 Message Date
Paweł Gronowski
15b87a4ab4 Merge pull request #51936 from vvoland/drop-replace
Drop replace rules and cut API v1.53
api/v1.53.0
2026-01-26 18:47:48 +00:00
Paweł Gronowski
4fa326fa85 api: Cut v1.53
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-01-26 19:00:50 +01:00
Paweł Gronowski
f9ed31aa95 Drop replace rules
Prepare docker-v29.2.0

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-01-26 18:54:20 +01:00
Paweł Gronowski
2d8289cbf3 Merge pull request #51919 from htoyoda18/fix/decode
api/pkg/authconfig: reject multiple JSON documents in Decode
2026-01-26 17:47:20 +00:00
Sebastiaan van Stijn
ef6d8b026e Merge pull request #51910 from thaJeztah/refactor_listener_defaults
loadDaemonCliConfig: explicitly set default host
2026-01-26 18:16:02 +01:00
Paweł Gronowski
45aee529d2 Merge pull request #51862 from thaJeztah/identity_version_gate
inspect: add API-version gate for image identity
2026-01-26 17:08:02 +00:00
Sebastiaan van Stijn
31ffe937e1 Merge pull request #51932 from thaJeztah/api_omitzero
api/types: use "omitzero" instead of "omitempty" for "netip" fields
2026-01-26 17:52:27 +01:00
Sebastiaan van Stijn
a007682383 Merge pull request #51931 from renovate-bot/renovate/actions-checkout-6.x
chore(deps): update actions/checkout action to v6
2026-01-26 17:51:53 +01:00
Sebastiaan van Stijn
59abc76746 daemon/pkg/opts: remove unused ParseHost
Merge some of the test-cases into TestParseDockerDaemonHost.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-26 16:51:48 +01:00
Sebastiaan van Stijn
8afb45b42f loadDaemonCliConfig: explicitly set default host
Setting the default host was implicitly handled in `normalizeHosts`; if
no hosts were provided, an empty entry was added to the list of hosts,
then passed through to `opts.ParseHost`, which handled an empty value
to set the default location (depending on TLS being enabled or XDG paths
to be used (when running with RootlessKit).

This patch makes the logic less magical:

- If no hosts are configured by the user (through CLI-flags or daemon.json),
  then we append the default location.
- The handling for TLS listeners is open-coded for now; we need to decide
  if we want to preserve this behavior (magically using TCP instead of a
  unix-socket or named pipe if TLS is enabled).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-26 16:51:41 +01:00
hiroto.toyoda
f6c0f41e6d api/pkg/authconfig: reject multiple JSON documents in Decode
Explicitly reject multiple JSON documents in authentication payloads
instead of silently ignoring them. This helps notify users when the
authentication payload is incorrectly formatted.

Signed-off-by: hiroto.toyoda <hiroto.toyoda@dena.com>
2026-01-27 00:30:51 +09:00
Sebastiaan van Stijn
fe81308c13 Merge pull request #51930 from thaJeztah/derenovate
ci: renovate: disable for api and client modules and use JSON5 format
2026-01-26 16:22:57 +01:00
Sebastiaan van Stijn
62c1a719b3 api/types: use "omitzero" instead of "omitempty" for "netip" fields
Pull request 50956 (88adc28731) updated
various types in the API module from a string to a `netip.Prefix` or
`netip.Addr`. A side-effect of this was that zero values would no longer
be omitted, and instead marshaled as an empty string;

    package main

    import (
        "encoding/json"
        "fmt"
        "net/netip"
    )

    type Foo struct {
        OmitEmpty netip.Prefix `json:",omitempty"`
        OmitZero  netip.Prefix `json:",omitzero"`
    }

    func main() {
        out, _ := json.Marshal(Foo{})
        fmt.Println(string(out))
    }

The above produces `{"OmitEmpty":""}`, not omitting the empty address.

This patch;

- updates most types to use `omitzero` instead of `omitempty`.
- adds explicit `json` names to fields.

There's one type remaining that uses `omitzero`, but it's generated by
go-swagger, which currently doesn't support `omitzero`; the `PortSummary.IP`;
335f60509f/api/types/container/port_summary.go (L12-L20)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-26 15:57:18 +01:00
Mend Renovate
9d839a236c chore(deps): update actions/checkout action to v6
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-01-26 14:39:07 +00:00
Paweł Gronowski
335f60509f Merge pull request #51929 from renovate-bot/renovate/actions-cache-5.x
chore(deps): update actions/cache action to v5
2026-01-26 14:13:03 +00:00
Sebastiaan van Stijn
a6dd46e1d2 Merge pull request #51928 from cuiweixie/typo
typo: called to caller
2026-01-26 15:04:43 +01:00
Sebastiaan van Stijn
12277d81d2 Merge pull request #51836 from thaJeztah/client_response_hook
client: implement WithResponseHook option
2026-01-26 14:09:00 +01:00
Sebastiaan van Stijn
7e8adf4d33 ci: renovate: disable for api and client modules
Do not update "api" and "client" module dependencies. We keep dependency
versions low for these to stick with "MVS" (Minimum Version Selection);
https://research.swtch.com/vgo-mvs

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-26 13:55:31 +01:00
Weixie Cui
f187929e87 retrigger github action
Signed-off-by: Weixie Cui <cuiweixie@gmail.com>
2026-01-26 20:49:31 +08:00
Sebastiaan van Stijn
86fd73d8bc ci: renovate: fix regex escaping
The `/` is used as delimiter for the regex, so `/` literals
within the regex should ... probably be escaped.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-26 13:47:03 +01:00
Sebastiaan van Stijn
8ff66aa5dc ci: renovate: add comment about Graylog2/go-gelf dependency
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-26 13:43:19 +01:00
Sebastiaan van Stijn
c36b44b21a ci: rename renovate.json to renovate.json5
Renovate supports JSON5 (https://json5.org), which allows comments
in JSON files.

Rename the file to be explicit about it being in JSON5 format.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-26 13:34:40 +01:00
Mend Renovate
c75070b9b4 chore(deps): update actions/cache action to v5
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-01-26 12:16:14 +00:00
Weixie Cui
ab3be3c68b typo: called to caller
Signed-off-by: Weixie Cui <cuiweixie@gmail.com>
2026-01-26 20:14:43 +08:00
Sebastiaan van Stijn
041d41ee55 Merge pull request #51906 from renovate-bot/renovate/code.cloudfoundry.org-clock-1.x
fix(deps): update module code.cloudfoundry.org/clock to v1.59.0
2026-01-26 13:12:54 +01:00
Sebastiaan van Stijn
049437c5b0 Merge pull request #51047 from thaJeztah/bump_cfssl
vendor: github.com/cloudflare/cfssl v1.6.5
2026-01-26 11:10:20 +01:00
Sebastiaan van Stijn
83a45d8d72 Merge pull request #51921 from thaJeztah/bump_compress
vendor: github.com/klauspost/compress v1.18.3
2026-01-26 11:09:14 +01:00
Sebastiaan van Stijn
ef8cf49a7d Merge pull request #51922 from thaJeztah/gofumpt
gofumpt code
2026-01-26 10:09:28 +01:00
Mend Renovate
5589d5a1ea fix(deps): update module code.cloudfoundry.org/clock to v1.59.0
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-01-26 09:04:42 +00:00
Sebastiaan van Stijn
2cafa78953 vendor: github.com/cloudflare/cfssl v1.6.5
full diff: https://github.com/cloudflare/cfssl/compare/v1.6.4...v1.6.5

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-26 10:03:16 +01:00
Sebastiaan van Stijn
3b5a0c1e4c vendor: github.com/zmap/zlint/v3 v3.5.0
full diff: https://github.com/zmap/zlint/compare/v3.1.0...v3.5.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-26 10:03:15 +01:00
Sebastiaan van Stijn
35aa470f73 vendor: github.com/weppos/publicsuffix-go v0.30.0
full diff: https://github.com/weppos/publicsuffix-go/compare/b1f36a2d6c0b...v0.30.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-26 10:02:43 +01:00
Akihiro Suda
6859f48dc3 Merge pull request #51920 from thaJeztah/bump_x_deps
vendor: update golang.org/x/xxx deps
2026-01-26 16:38:55 +09:00
Sebastiaan van Stijn
7b38ece108 integration: gofumpt
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 17:16:15 +01:00
Sebastiaan van Stijn
17de27ffc2 daemon: gofumpt
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 17:16:05 +01:00
Sebastiaan van Stijn
5bde1565a6 client: gofumpt
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 17:15:45 +01:00
Sebastiaan van Stijn
f3343bf846 api/types: gofumpt
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 17:14:59 +01:00
Sebastiaan van Stijn
3380c52740 vendor: github.com/klauspost/compress v1.18.3
no changes in vendored code

- fixes / downstream CVE-2025-61728

full diff: https://github.com/klauspost/compress/compare/v1.18.2...v1.18.3

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 16:03:32 +01:00
Sebastiaan van Stijn
0a3af47d89 vendor: golang.org/x/tools v0.41.0
full diff: https://cs.opensource.google/go/x/tools/+/refs/tags/v0.40.0...refs/tags/v0.41.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 15:58:29 +01:00
Sebastiaan van Stijn
2d5c1cdb02 vendor: golang.org/x/mod v0.32.0
full diff: https://cs.opensource.google/go/x/mod/+/refs/tags/v0.31.0...refs/tags/v0.32.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 15:52:27 +01:00
Sebastiaan van Stijn
818ec93592 vendor: golang.org/x/net v0.49.0
full diff: https://cs.opensource.google/go/x/net/+/refs/tags/v0.48.0...refs/tags/v0.49.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 15:51:31 +01:00
Sebastiaan van Stijn
7a12d1bcea vendor: golang.org/x/crypto v0.47.0
full diff: https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.46.0...refs/tags/v0.47.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 15:50:34 +01:00
Sebastiaan van Stijn
d163d3326b vendor: golang.org/x/term v0.39.0
full diff: https://cs.opensource.google/go/x/term/+/refs/tags/v0.38.0...refs/tags/v0.39.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 15:49:54 +01:00
Sebastiaan van Stijn
5b62347a5f vendor: golang.org/x/text v0.33.0
full diff: https://cs.opensource.google/go/x/text/+/refs/tags/v0.32.0...refs/tags/v0.33.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 15:44:27 +01:00
Sebastiaan van Stijn
dceb87f58b vendor: golang.org/x/sys v0.40.0
full diff: https://cs.opensource.google/go/x/sys/+/refs/tags/v0.39.0...refs/tags/v0.40.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 15:43:13 +01:00
Sebastiaan van Stijn
4bc3a76891 daemon/command: slight cleanup of normalizeHosts
Use the slices package to remove duplicates.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 13:33:09 +01:00
Sebastiaan van Stijn
20c801f9e1 daemon/pkg/opts: export ParseDaemonHost
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-24 13:22:45 +01:00
Sebastiaan van Stijn
f89429f18b Merge pull request #51911 from thaJeztah/bump_sigstore
vendor: github.com/sigstore/rekor v1.5.0
2026-01-24 01:09:18 +01:00
Sebastiaan van Stijn
7f16c4fee0 vendor: github.com/sigstore/rekor v1.5.0
This release fixes GHSA-273p-m2cw-6833 and GHSA-4c4x-jm2x-pf9j. Note that this
drops support for fetching public keys via URL when querying the search API.

Vulnerability Fixes

- Handle malformed COSE and DSSE entries
- Drop support for fetching public keys by URL in the search index

Features

- Add support for a custom TLS config for clients (#2709)

full diff: https://github.com/sigstore/rekor/compare/v1.4.3...v1.5.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-23 19:30:21 +01:00
Sebastiaan van Stijn
bb43161e2f vendor: google.golang.org/api v0.260.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-23 19:30:20 +01:00