Sebastiaan van Stijn
f009ed2b34
vendor: github.com/docker/docker c23af2910987 (27.x / v27.5.0-dev)
...
full diff: https://github.com/docker/docker/compare/v27.4.1...c23af2910987f9f3528f60140a5b3d7fedcabbe0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-12-20 19:35:56 +01:00
Sebastiaan van Stijn
f264af6124
vendor: go.opentelemetry.io/otel v1.28.0
...
aligning all related packages to v1.28.0 as well
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 5e40d288c7 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-12-20 18:43:46 +01:00
Sebastiaan van Stijn
2d3e97f32d
vendor: github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0
...
full diff: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.16.0...v2.20.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 9ba73a1a05 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-12-20 18:29:09 +01:00
Sebastiaan van Stijn
d8f2d1b155
vendor: update prometheus dependencies
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 074d1028b5 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-12-20 18:25:39 +01:00
Sebastiaan van Stijn
e3d2562114
vendor: github.com/go-logr/logr v1.4.2
...
full diff: https://github.com/go-logr/logr/compare/v1.4.1...v1.4.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 97ff1b7c0a )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-12-20 18:22:48 +01:00
Sebastiaan van Stijn
bcec6cb71a
vendor: github.com/cenkalti/backoff/v4 v4.3.0
...
full diff: https://github.com/cenkalti/backoff/compare/v4.2.1...v4.3.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 4c85feb4dd )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-12-20 18:22:26 +01:00
Sebastiaan van Stijn
ef6bc69c04
vendor: github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161
...
documentation changes only, no changes in vendored code
full diff: https://github.com/Azure/go-ansiterm/compare/d185dfc1b5a1...306776ec8161
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 3b48a57b04 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-12-20 18:21:44 +01:00
Sebastiaan van Stijn
d4dc4efef0
vendor: github.com/docker/docker v27.4.1
...
full diff: https://github.com/docker/docker/compare/v27.4.0...v27.4.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-12-18 13:14:35 +01:00
Sebastiaan van Stijn
dc8511cd60
vendor: github.com/docker/docker v27.4.0-rc.4
...
https://github.com/docker/docker/compare/v27.4.0-rc.3...v27.4.0-rc.4
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-12-05 09:35:02 +01:00
Sebastiaan van Stijn
49b6551e97
[27.x] vendor: github.com/docker/docker 5765e9f35b00 (v27.4-dev)
...
full diff: https://github.com/docker/docker/compare/v27.3.1...5765e9f35b0016dbd931efe9f23cb6bfc7b00bc3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-11-14 16:53:27 +01:00
Sebastiaan van Stijn
46844b4f1d
vendor: github.com/klauspost/compress v1.17.11
...
full diff: https://github.com/klauspost/compress/compare/v1.17.9...v1.17.11
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit e3942d46a0 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-11-13 23:01:16 +01:00
Sebastiaan van Stijn
52ac568385
cli/container: use github.com/moby/sys/capability for completions
...
We used a hard-coded list of capabilities that we copied from containerd,
but the new "capability" package allows use to have a maintained list
of capabilities.
There's likely still some improvements to be made;
First of all, the capability package could provide a function to get the list
of strings.
On the completion-side, we need to consider what format is most convenient;
currently we use the canonical name (uppercase and "CAP_" prefix), however,
tab-completion is case-sensitive by default, so requires the user to type
uppercase letters to filter the list of options.
Bash completion provides a `completion-ignore-case on` option to make completion
case-insensitive (https://askubuntu.com/a/87066 ), but it looks to be a global
option; the current cobra.CompletionOptions also don't provide this as an option
to be used in the generated completion-script.
Fish completion has `smartcase` (by default?) which matches any case if
all of the input is lowercase.
Zsh does not have a dedicated option, but allows setting matching-rules
(see https://superuser.com/a/1092328 ).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 462e08219d )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-10-17 23:08:14 +02:00
Sebastiaan van Stijn
78be4c464f
vendor: github.com/cespare/xxhash/v2 v2.3.0
...
full diff: https://github.com/cespare/xxhash/compare/v2.2.0...v2.3.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 9599251d07 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-10-14 13:31:11 +02:00
Sebastiaan van Stijn
74bebe2719
vendor: github.com/docker/docker bf60e5cced83 (v27.3.0-dev)
...
full diff: https://github.com/docker/docker/compare/v27.2.1...bf60e5cced830ee3034275c1792095fbfa40caf4
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-09-13 00:21:52 +02:00
Sebastiaan van Stijn
2fc18b9874
vendor: google.golang.org/grpc v1.62.0
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit dccb8bfa5d )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-09-12 23:59:44 +02:00
Sebastiaan van Stijn
4607c883c5
vendor: github.com/moby/sys/sequential v0.6.0
...
full diff: https://github.com/moby/sys/compare/sequential/v0.5.0...sequential/v0.6.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit b34e8e4dff )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-09-12 23:53:02 +02:00
Sebastiaan van Stijn
7ff3daa446
vendor: github.com/moby/sys/symlink v0.3.0
...
full diff: https://github.com/moby/sys/compare/symlink/v0.2.0...symlink/v0.3.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit ea37ac9bac )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-09-12 23:52:59 +02:00
Paweł Gronowski
324cdbca40
vendor: github.com/docker/docker v27.2.1-dev (8b539b8df240)
...
full diff: https://github.com/docker/docker/compare/v27.2.0...8b539b8df240
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-09-06 13:48:24 +02:00
Paweł Gronowski
26536d1145
vendor: github.com/docker/docker v27.2.0-dev (9942d656bade)
...
full diff: https://github.com/docker/docker/compare/f9522e5e96c3...9942d656bade
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-08-16 18:59:59 +02:00
Laura Brehm
0c29d6bac1
auth: add support for oauth device-code login
...
This commit adds support for the oauth [device-code](https://auth0.com/docs/get-started/authentication-and-authorization-flow/device-authorization-flow )
login flow when authenticating against the official registry.
This is achieved by adding `cli/internal/oauth`, which contains code to manage
interacting with the Docker OAuth tenant (`login.docker.com`), including launching
the device-code flow, refreshing access using the refresh-token, and logging out.
The `OAuthManager` introduced here is also made available through the `command.Cli`
interface method `OAuthManager()`.
In order to maintain compatibility with any clients manually accessing
the credentials through `~/.docker/config.json` or via credential
helpers, the added `OAuthManager` uses the retrieved access token to
automatically generate a PAT with Hub, and store that in the
credentials.
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
(cherry picked from commit fcfdd7b91f )
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
2024-08-16 10:09:38 +01:00
Sebastiaan van Stijn
65dec14ac0
vendor: github.com/docker/docker f9522e5e96c3 (v27.1.2-dev)
...
Removes dependency on containerd, as the userns package was migrated
to the github.com/moby/sys/userns module.
- full diff: https://github.com/docker/docker/compare/v27.1.1...f9522e5e96c3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-08-12 13:18:02 +02:00
Sebastiaan van Stijn
b889b2562c
vendor: github.com/docker/docker v27.1.0
...
full diff:
- https://github.com/docker/docker/compare/v27.0.3....v27.1.0
- google.golang.org/genproto/googleapis/rpc https://github.com/googleapis/go-genproto/compare/49dd2c1f3d0b...995d672761c0
- google.golang.org/genproto/googleapis/api: https://github.com/googleapis/go-genproto/compare/49dd2c1f3d0b...83a465c0220f
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-07-23 13:37:57 +02:00
Sebastiaan van Stijn
674f8d2979
vendor: github.com/prometheus/procfs v0.15.1
...
full diff: https://github.com/prometheus/procfs/compare/v0.12.0...v0.15.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit caa5d15e98 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-07-19 02:04:24 +02:00
Sebastiaan van Stijn
dfe3c0c074
vendor: github.com/klauspost/compress v1.17.9
...
full diff: https://github.com/klauspost/compress/compare/v1.17.4...v1.17.9
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit f8e7c0a0d6 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-07-19 02:03:50 +02:00
Paweł Gronowski
59fb099da2
Merge pull request #5227 from dvdksn/backport_buildx_canonical
...
[27.0 backport] docs: make buildx build the canonical reference doc
2024-07-04 11:20:46 +02:00
David Karlsson
27bf78d335
docs: make buildx build the canonical reference doc
...
Move common flag descriptions to the buildx build reference, and make
that page the canonical page in docs. Also rewrite some content in
image_build to make clear that this page is only for the legacy builder.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
(cherry picked from commit e91f0ded9c )
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-07-04 09:19:10 +02:00
Sebastiaan van Stijn
6b99e0370c
vendor: github.com/docker/docker v27.0.3
...
full diff: https://github.com/docker/docker/compare/v27.0.2...v27.0.3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 2e6aaf05d4 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-07-01 12:30:22 +02:00
Paweł Gronowski
c97e8091a6
vendor: github.com/docker/docker v27.0.2-dev (e953d76450b6)
...
full diff: https://github.com/docker/docker/compare/861fde8cc974...e953d76450b6
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-06-26 20:34:31 +02:00
Paweł Gronowski
8945848025
vendor: github.com/docker/docker v27.0.2-dev (861fde8cc974)
...
full diff: https://github.com/docker/docker/compare/v27.0.1...861fde8cc974
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-06-26 19:20:54 +02:00
Paweł Gronowski
ad583961b6
vendor: github.com/docker/docker v27.0-dev (ff1e2c0de72a, master)
...
full diff: https://github.com/docker/docker/compare/81b202797920...ff1e2c0de72a
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-06-21 15:18:13 +02:00
Paweł Gronowski
34d42bdf0c
vendor: github.com/docker/docker v27.0-dev (018d93decfb5)
...
full diff: https://github.com/docker/docker/compare/1a1f3cff45ec...018d93decfb5
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-06-20 14:00:27 +02:00
Sebastiaan van Stijn
2088c5963b
vendor: github.com/docker/docker 1a1f3cff45ec (master, v27.0-dev)
...
Rewrite local code to use the new container.Ulimit alias to start
transitioning away from direct uses of go-units.Ulimit.
full diff: https://github.com/docker/docker/compare/v27.0.0-rc.2...1a1f3cff45ec5aba4a520fae88b4f929eab8b3e8
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-06-20 13:04:54 +02:00
Sebastiaan van Stijn
4f00eee524
vendor: github.com/spf13/cobra v1.8.1
...
- release notes: https://github.com/spf13/cobra/releases/tag/v1.8.1
- full diff: https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-06-18 21:52:58 +02:00
Sebastiaan van Stijn
eae63069e6
vendor: github.com/moby/swarmkit/v2 v2.0.0-20240611172349-ea1a7cec35cb
...
Update the version to match what's used in docker/docker.
Full diff: https://github.com/moby/swarmkit/compare/c1c857e2dca1...ea1a7cec35cb
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-06-18 14:32:49 +02:00
Paweł Gronowski
3b0d297aab
vendor: github.com/docker/docker caf502a0bc44 (v27.0.0-dev)
...
full diff: https://github.com/docker/docker/compare/ec4bac431c88...caf502a0bc44
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-06-17 17:08:30 +02:00
Paweł Gronowski
11a3d8728b
vendor: github.com/docker/docker ec4bac431c88 (v27.0.0-dev)
...
full diff: https://github.com/docker/docker/compare/ba69bd9c1e48...ec4bac431c88
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-06-17 10:18:07 +02:00
Sebastiaan van Stijn
ad62b68693
vendor: github.com/containerd/platforms v0.2.1
...
- Remove hcsshim import from repo
- un-exports GetOsVersion
- Update windows matcher to not compare empty os version
full diff: https://github.com/containerd/platforms/compare/v0.2.0...v0.2.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-06-12 00:57:47 +02:00
Paweł Gronowski
32ac7a08f8
cli/push: Print aux notes
...
Print note when the multi-platform image was reduced to a single
manifest.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-06-11 16:39:49 +02:00
Paweł Gronowski
892784deed
vendor: github.com/docker/docker v27.0.0-dev (9d9488468fe2)
...
full diff: https://github.com/docker/docker/compare/a736d0701c41...9d9488468fe2
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-06-11 16:39:45 +02:00
Sebastiaan van Stijn
43b840ed93
vendor: github.com/docker/docker a736d0701c41 (master, v27.0.0-dev)
...
full diff: https://github.com/docker/docker/compare/59996a493cfc...a736d0701c418ca262a299c2f59603677d1366b0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-06-10 17:41:09 +02:00
Sebastiaan van Stijn
d11fbda360
vendor: github.com/distribution/reference v0.6.0
...
full diff: https://github.com/distribution/reference/compare/v0.5.0...v0.6.0
- remove deprecated SplitHostname
- refactor splitDockerDomain to include more documentation
- fix typo in readme
- Exclude domain from name length check
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-06-08 23:20:52 +02:00
Sebastiaan van Stijn
97b7746df0
vendor: github.com/docker/docker 59996a493cfc (v27.0.0-dev)
...
full diff: https://github.com/docker/docker/compare/181e70cc078e...59996a493cfc36871ddd8f6ede525def98b69e2f
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-06-07 16:11:03 +02:00
Albin Kerouanton
0ed8a7e310
vendor: github.com/docker/docker 00f18ef7a455 (master / v27.0.0-dev)
...
- api: Make EnableIPv6 optional
full diff: https://github.com/moby/moby/compare/c6aaabc9fc8201496379ab12bf4c9386000cb21d...00f18ef7a4550054230d5c5a3a45a28386ba3689
Signed-off-by: Albin Kerouanton <albinker@gmail.com >
2024-06-06 20:59:27 +02:00
Sebastiaan van Stijn
bc2e274782
vendor: migrate to github.com/go-viper/mapstructure/v2 v2.0.0
...
github.com/mitchellh/mapstructure will no longer be maintained by the author,
and github.com/go-viper/mapstructure is nominated as the endorsed fork.
- v1.x changes since last release from mitchellh: https://github.com/go-viper/mapstructure/compare/v1.5.0...v1.6.0
- v2.0 changes: https://github.com/go-viper/mapstructure/compare/v1.6.0...v2.0.0
Breaking changes
Error is removed in favor of errors.Join (backported from Go 1.20 to preserve
compatibility with earlier versions)
What's Changed
- feat!: update module path
- build: update dev env
- feature: add StringToBasicTypeHookFunc and support complex
- Add an example showing how to use a DecodeHookFunc to parse a custom field.
- Remove exposed error type
- Replace internal joined error with errors.Join
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-06-06 00:05:45 +02:00
Sebastiaan van Stijn
23148220ec
vendor: github.com/docker/docker c6aaabc9fc82 (master / v27.0.0-dev)
...
- api: move more network-related types to api/types/network
full diff: https://github.com/docker/docker/compare/cd3804655a252117742a2987df15630a61ce334e...c6aaabc9fc8201496379ab12bf4c9386000cb21d
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-06-05 16:29:55 +02:00
Sebastiaan van Stijn
b6a3ce4167
vendor: github.com/docker/docker cd3804655a25 (master / v27.0.0-dev)
...
full diff: https://github.com/docker/docker/compare/e622cea55698e824ed6e362effe1701fd1e1552f...cd3804655a252117742a2987df15630a61ce334e
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-06-04 09:17:20 +02:00
Sebastiaan van Stijn
e2fc6bd771
vendor: github.com/docker/docker e622cea55698 (master / v27.0.0-dev)
...
full diff: https://github.com/moby/moby/compare/06e3a49d66fa454e0124bd93570aac490bbf5544...e622cea55698e824ed6e362effe1701fd1e1552f
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-05-31 17:39:37 +02:00
Sebastiaan van Stijn
b7548ba7f1
vendor: github.com/opencontainers/image-spec v1.1.0
...
full diff: https://github.com/opencontainers/image-spec/compare/v1.1.0-rc5...v1.1.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-05-31 16:10:21 +02:00
Sebastiaan van Stijn
12aaeae21b
vendor: github.com/Microsoft/go-winio v0.6.2
...
- Fix compatibility with go1.22
- fileinfo: internally fix FileBasicInfo memory alignment (fixes compatibility
with go1.22)
- Switch from syscall to golang.org/x/sys/windows
- Remove golang.org/x/mod as dependency
- Remove golang.org/x/tools as dependency
full diff: https://github.com/Microsoft/go-winio/compare/v0.6.1...v0.6.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-05-31 15:49:19 +02:00
Sebastiaan van Stijn
7dc271a8be
migrate to new github.com/containerd/platforms package
...
The github.com/containerd/containerd/platforms package was moved to a separate
module in preparation of the containerd v2.0 release.
Switch to the new module, which means we also remove containerd as a direct
dependency.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-05-27 11:55:23 +02:00