Repository navigation
builder: COPY --from: don't remap already remapped IDs - #53859
Conversation
e90a23b to
a624ab3
Compare
|
Thx! I need to have a closer look at this one to double check we're not overlooking things. |
|
|
||
| copyTo("rootfile", "/") | ||
| copyTo("file", "/") | ||
| copyTo("dir", "newdir") |
There was a problem hiding this comment.
| copyTo("dir", "newdir") | |
| copyTo("dir", "newdir") | |
| copyTo("dir", "newparent/newdir") |
There was a problem hiding this comment.
We should also test this case and compare the ownership
There was a problem hiding this comment.
Thanks, added (and it caught a regression, which is now fixed).
| if identity == nil { | ||
| // Create the destination directory owned by root, as the archiver | ||
| // may not have the ID mapping to do so. | ||
| if err := user.MkdirAllAndChown(dest, 0o755, root.UID, root.GID, user.WithOnlyNew); err != nil { | ||
| return errors.Wrapf(err, "failed to create new directory") | ||
| } | ||
| } |
There was a problem hiding this comment.
I think we need to create parents for the remap case too.
Otherwise the archiver will just create them with root ownership?
| if identity == nil { | |
| // Create the destination directory owned by root, as the archiver | |
| // may not have the ID mapping to do so. | |
| if err := user.MkdirAllAndChown(dest, 0o755, root.UID, root.GID, user.WithOnlyNew); err != nil { | |
| return errors.Wrapf(err, "failed to create new directory") | |
| } | |
| } | |
| // Create the destination directory owned by root, as the archiver | |
| // may not have the ID mapping to do so. | |
| if err := user.MkdirAllAndChown(dest, 0o755, root.UID, root.GID, user.WithOnlyNew); err != nil { | |
| return errors.Wrapf(err, "failed to create new directory") | |
| } |
3518415 to
52aae0d
Compare
|
@vvoland thanks, you caught a real issue (which I think is now fixed); PTAL. |
|
Needs linter fixes |
52aae0d to
25f401a
Compare
This was caused by bad master branch (now fixed by 4c3bb11). Rebased. |
vvoland
left a comment
There was a problem hiding this comment.
LGTM
(@thaJeztah I think it's ok to bring this for 29.9 still, let me know if you think otherwise though)
| uid, gid := b.idMapping.RootPair() | ||
| id := identity{UID: uid, GID: gid} | ||
| id := b.rootIdentity() |
There was a problem hiding this comment.
ISTR we tried to somewhat move away from the identify type(s); not a strict blocker, but wondering if making these functions just accept uid, gid as arguments 🤔
There was a problem hiding this comment.
Can do (and maybe you can add some linter warning to not use it in the new code?)
Here's the diff from the old version:
type copyFileOptions struct {
decompress bool
identity *identity
- // root is the identity of the (remapped) root user, which owns newly
- // created parent directories of the destination.
- root identity
+ // rootUID and rootGID are the IDs of the (remapped) root user, which
+ // owns newly created parent directories of the destination.
+ rootUID int
+ rootGID int
archiver *archive.Archiver
}
@@ -483,7 +484,7 @@ func performCopyForInfo(...)
if src.IsDir() {
- return copyDirectory(archiver, srcPath, destPath, options.identity, options.root)
+ return copyDirectory(archiver, srcPath, destPath, options.identity, options.rootUID, options.rootGID)
}
@@ -508,10 +509,10 @@ func performCopyForInfo(...)
- return copyFile(archiver, srcPath, destPath, options.identity, options.root)
+ return copyFile(archiver, srcPath, destPath, options.identity, options.rootUID, options.rootGID)
}
-func copyDirectory(archiver *archive.Archiver, source, dest string, identity *identity, root identity) error {
+func copyDirectory(archiver *archive.Archiver, source, dest string, identity *identity, rootUID, rootGID int) error {
@@ -519,7 +520,7 @@
- if err := user.MkdirAllAndChown(dest, 0o755, root.UID, root.GID, user.WithOnlyNew); err != nil {
+ if err := user.MkdirAllAndChown(dest, 0o755, rootUID, rootGID, user.WithOnlyNew); err != nil {
@@ -532,9 +533,9 @@
-func copyFile(archiver *archive.Archiver, source, dest string, identity *identity, root identity) error {
+func copyFile(archiver *archive.Archiver, source, dest string, identity *identity, rootUID, rootGID int) error {
if identity == nil {
- if err := user.MkdirAllAndChown(filepath.Dir(dest), 0o755, root.UID, root.GID, user.WithOnlyNew); err != nil {
+ if err := user.MkdirAllAndChown(filepath.Dir(dest), 0o755, rootUID, rootGID, user.WithOnlyNew); err != nil {
--- a/daemon/builder/dockerfile/internals.go
+++ b/daemon/builder/dockerfile/internals.go
@@ -33,20 +33,15 @@
-func (b *Builder) rootIdentity() identity {
- uid, gid := b.idMapping.RootPair()
- return identity{UID: uid, GID: gid}
-}
-
func (b *Builder) getCopyFileOptions(inst copyInstruction, id identity) copyFileOptions {
opts := copyFileOptions{
decompress: inst.allowLocalDecompression,
- root: b.rootIdentity(),
archiver: b.getArchiver(),
}
+ opts.rootUID, opts.rootGID = b.idMapping.RootPair()
@@ -179,7 +174,8 @@ func (b *Builder) performCopy(...)
- id := b.rootIdentity()
+ uid, gid := b.idMapping.RootPair()
+ id := identity{UID: uid, GID: gid}
--- a/daemon/builder/dockerfile/internals_linux_test.go
+++ b/daemon/builder/dockerfile/internals_linux_test.go
@@ -215,7 +215,7 @@
name: "preserve ownership",
inst: copyInstruction{fromImage: true, preserveOwnership: true},
- id: b.rootIdentity(),
+ id: identity{UID: root.uid, GID: root.gid},
There was a problem hiding this comment.
Thanks for updating!
Yeah, I think the identity struct was both a good and a bad idea; it originally was to try to shoehorn Windows and Unix into a single interface, but that also resulted in tight coupling with that identity type (often in places where it wasn't even needed). And Windows is still such a different beast, that it's not always possible to consolidate these concepts, or even gets ignored entirely by stdlib.
So yeah, not saying a similar struct will never re-appear, but if it would we much think it through properly, so for now just open-coding uid/gid in places where no Windows is insight is better.
and maybe you can add some linter warning to not use it in the new code?
Yeah, been thinking about that (but not with high priority 😂). ISTR there were a couple of places remaining where the types were encoded in the API that were slightly harder to get rid of, but I need to have another look at it.
|
Needs a rebase 🙈 |
25f401a to
b3b9d47
Compare
Yep, second commit needs to adapt to whatever's done in #53880. Switched it to |
With userns-remap, the layers of another build stage or image are stored with host (remapped) IDs. Yet the classic builder copies files from such a source using an archiver with the daemon ID mapping, which treats the file owner IDs as container IDs and maps them again. As a result, COPY --from of a file owned by a non-root user fails with an error like "container ID 100100 cannot be mapped to a host ID". Files owned by the remapped root only work because of a special case in IdentityMapping.ToHost, which skips mapping the IDs equal to the remapped root ones. That special case is wrong in itself, and fixing it would break COPY --from for all files. Fix by using an archiver without ID mapping when copying from another build stage or image. Since such an archiver creates new directories owned by the host root, create the destination directory and its parents beforehand, owned by the remapped root (if chown is requested, the newly created destination directory is chowned later, as before). Similarly, when copying a single file with ownership preserved, create its new parent directories owned by the remapped root. Previously, they were owned by the host root. Add a test case. Signed-off-by: Kir Kolyshkin <[email protected]>
The build errors are reported in the response stream, and io.Copy does not check for those, so the test passes even if the build fails. Use build.Do, which fails the test if the stream contains an error. Signed-off-by: Kir Kolyshkin <[email protected]>
b3b9d47 to
e93b4a7
Compare
This PR contains the following updates: | Package | Type | Update | Change | OpenSSF | |---|---|---|---|---| | [github.com/moby/sys/user](https://redirect.github.com/moby/sys) | indirect | minor | `v0.4.1` → `v0.5.0` | [](https://securityscorecards.dev/viewer/?uri=github.com/moby/sys) | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/331) for more information. --- ### Release Notes <details> <summary>moby/sys (github.com/moby/sys/user)</summary> ### [`v0.5.0`](https://redirect.github.com/moby/sys/releases/tag/user/v0.5.0) #### Breaking changes ##### `IdentityMapping.ToHost` no longer special-cases the remapped root `ToHost` used to skip the ID-map lookup when the ID passed in was equal to the host remapped-root ID (as returned by `RootPair`). This was wrong: the arguments are *container* IDs, and comparing them against a *host* value made no sense. With a subuid/subgid base below 65536 (for example `rootless:1000:65536`, used to align dind-rootless container UIDs), a non-root container UID equal to the base (`1000` in this example) was returned unmapped, so it appeared as root inside the container. `ToHost` now always translates both UID and GID through the mappings. Container root (`0`) still maps to the host remapped-root base, same as `RootPair` returns. An empty (nil) mapping is treated as identity. What this means for callers: - Pass container IDs only. Code that passes the host remapped-root pair (for example, the result of `RootPair`) to `ToHost` and expects it back unchanged gets a different result or an error now. Pass `0, 0` instead, or use `RootPair` directly. - If `ToHost` returns an error, both returned IDs are now `-1`. Previously they could hold a partially translated value. The only known caller that was relying on old behavior was moby/moby; it was fixed by [moby/moby#53859](https://redirect.github.com/moby/moby/pull/53859). See [#​242](https://redirect.github.com/moby/sys/issues/242) and [#​241](https://redirect.github.com/moby/sys/issues/241). ##### Windows: `MkdirAndChown` no longer creates parent directories On Windows, `MkdirAndChown` used to call `os.MkdirAll`, so it also created any missing parent directories, unlike on Unix. It now uses `os.Mkdir`, as documented. Use `MkdirAllAndChown` if you need parent directories created. See [#​236](https://redirect.github.com/moby/sys/issues/236). #### Changes - user: GetExecUser: use strings.Cut to split user:group ([#​228](https://redirect.github.com/moby/sys/pull/228)) - user: GetExecUser: always clone default Sgids ([#​229](https://redirect.github.com/moby/sys/pull/229)) - user: GetExecUser: rewrite with parseUserArg, parseGroupArg ([#​231](https://redirect.github.com/moby/sys/pull/231), [#​232](https://redirect.github.com/moby/sys/pull/232)) - user: parseNumeric: require non-empty values ([#​235](https://redirect.github.com/moby/sys/pull/235)) - user: MkdirAllAndChown, MkdirAndChown: DRY ([#​244](https://redirect.github.com/moby/sys/pull/244)) - user: GoDoc fixes ([#​233](https://redirect.github.com/moby/sys/pull/233), [#​237](https://redirect.github.com/moby/sys/pull/237)) - user: test fixes and cleanups ([#​227](https://redirect.github.com/moby/sys/pull/227), [#​234](https://redirect.github.com/moby/sys/pull/234)) - user: require Go 1.24 ([#​272](https://redirect.github.com/moby/sys/pull/272)) #### New Contributors - [@​sueun-dev](https://redirect.github.com/sueun-dev) made their first contribution in [#​233](https://redirect.github.com/moby/sys/pull/233) - [@​okhowang](https://redirect.github.com/okhowang) made their first contribution in [#​242](https://redirect.github.com/moby/sys/pull/242) **Full Changelog**: <moby/sys@user/v0.4.1...user/v0.5.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Only on Sunday (`* * * * 0`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMzkuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjI0NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: ocmbot[bot] <125909804+ocmbot[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/moby/sys/user](https://redirect.github.com/moby/sys) | `v0.4.1` → `v0.5.0` |  |  | --- ### Release Notes <details> <summary>moby/sys (github.com/moby/sys/user)</summary> ### [`v0.5.0`](https://redirect.github.com/moby/sys/releases/tag/user/v0.5.0) #### Breaking changes ##### `IdentityMapping.ToHost` no longer special-cases the remapped root `ToHost` used to skip the ID-map lookup when the ID passed in was equal to the host remapped-root ID (as returned by `RootPair`). This was wrong: the arguments are *container* IDs, and comparing them against a *host* value made no sense. With a subuid/subgid base below 65536 (for example `rootless:1000:65536`, used to align dind-rootless container UIDs), a non-root container UID equal to the base (`1000` in this example) was returned unmapped, so it appeared as root inside the container. `ToHost` now always translates both UID and GID through the mappings. Container root (`0`) still maps to the host remapped-root base, same as `RootPair` returns. An empty (nil) mapping is treated as identity. What this means for callers: - Pass container IDs only. Code that passes the host remapped-root pair (for example, the result of `RootPair`) to `ToHost` and expects it back unchanged gets a different result or an error now. Pass `0, 0` instead, or use `RootPair` directly. - If `ToHost` returns an error, both returned IDs are now `-1`. Previously they could hold a partially translated value. The only known caller that was relying on old behavior was moby/moby; it was fixed by [moby/moby#53859](https://redirect.github.com/moby/moby/pull/53859). See [#​242](https://redirect.github.com/moby/sys/issues/242) and [#​241](https://redirect.github.com/moby/sys/issues/241). ##### Windows: `MkdirAndChown` no longer creates parent directories On Windows, `MkdirAndChown` used to call `os.MkdirAll`, so it also created any missing parent directories, unlike on Unix. It now uses `os.Mkdir`, as documented. Use `MkdirAllAndChown` if you need parent directories created. See [#​236](https://redirect.github.com/moby/sys/issues/236). #### Changes - user: GetExecUser: use strings.Cut to split user:group ([#​228](https://redirect.github.com/moby/sys/pull/228)) - user: GetExecUser: always clone default Sgids ([#​229](https://redirect.github.com/moby/sys/pull/229)) - user: GetExecUser: rewrite with parseUserArg, parseGroupArg ([#​231](https://redirect.github.com/moby/sys/pull/231), [#​232](https://redirect.github.com/moby/sys/pull/232)) - user: parseNumeric: require non-empty values ([#​235](https://redirect.github.com/moby/sys/pull/235)) - user: MkdirAllAndChown, MkdirAndChown: DRY ([#​244](https://redirect.github.com/moby/sys/pull/244)) - user: GoDoc fixes ([#​233](https://redirect.github.com/moby/sys/pull/233), [#​237](https://redirect.github.com/moby/sys/pull/237)) - user: test fixes and cleanups ([#​227](https://redirect.github.com/moby/sys/pull/227), [#​234](https://redirect.github.com/moby/sys/pull/234)) - user: require Go 1.24 ([#​272](https://redirect.github.com/moby/sys/pull/272)) #### New Contributors - [@​sueun-dev](https://redirect.github.com/sueun-dev) made their first contribution in [#​233](https://redirect.github.com/moby/sys/pull/233) - [@​okhowang](https://redirect.github.com/okhowang) made their first contribution in [#​242](https://redirect.github.com/moby/sys/pull/242) **Full Changelog**: <moby/sys@user/v0.4.1...user/v0.5.0> </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Berlin) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/pflege-de-labs/tranquila). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODguMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE4OC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update | Pending | |---|---|---|---|---|---|---| | [github.com/ebitengine/purego](https://redirect.github.com/ebitengine/purego) | `v0.11.2` → `v0.11.3` |  |  | indirect | patch | | | [github.com/hashicorp/terraform-exec](https://redirect.github.com/hashicorp/terraform-exec) | `v0.25.3` → `v0.26.0` |  |  | indirect | minor | | | [github.com/hashicorp/terraform-registry-address](https://redirect.github.com/hashicorp/terraform-registry-address) | `v0.5.0` → `v0.5.1` |  |  | indirect | patch | | | [github.com/lufia/plan9stats](https://redirect.github.com/lufia/plan9stats) | `c963978` → `be84dd9` |  |  | indirect | digest | | | [github.com/moby/sys/user](https://redirect.github.com/moby/sys) | `v0.4.1` → `v0.5.0` |  |  | indirect | minor | | | [github.com/shirou/gopsutil/v4](https://redirect.github.com/shirou/gopsutil) | `v4.26.9` → `v4.26.10` |  |  | indirect | patch | | | [github.com/testcontainers/testcontainers-go](https://redirect.github.com/testcontainers/testcontainers-go) | `v0.44.0` → `v0.45.0` |  |  | require | minor | | | [github.com/testcontainers/testcontainers-go/modules/redis](https://redirect.github.com/testcontainers/testcontainers-go) | `v0.44.0` → `v0.45.0` |  |  | require | minor | | | [github.com/zclconf/go-cty](https://redirect.github.com/zclconf/go-cty) | `v1.19.0` → `v1.20.0` |  |  | indirect | minor | | | [go.yaml.in/yaml/v3](https://redirect.github.com/yaml/go-yaml) | `v3.0.5` → `v3.0.6` |  |  | indirect | patch | | | [golang.org/x/net](https://pkg.go.dev/golang.org/x/net) | [`v0.61.0` → `v0.62.0`](https://cs.opensource.google/go/x/net/+/refs/tags/v0.61.0...refs/tags/v0.62.0) |  |  | indirect | minor | `v0.63.0` | | [golang.org/x/sync](https://pkg.go.dev/golang.org/x/sync) | [`v0.24.0` → `v0.25.0`](https://cs.opensource.google/go/x/sync/+/refs/tags/v0.24.0...refs/tags/v0.25.0) |  |  | indirect | minor | | | [golang.org/x/sys](https://pkg.go.dev/golang.org/x/sys) | [`v0.49.0` → `v0.50.0`](https://cs.opensource.google/go/x/sys/+/refs/tags/v0.49.0...refs/tags/v0.50.0) |  |  | indirect | minor | | | [google.golang.org/grpc](https://redirect.github.com/grpc/grpc-go) | `v1.84.0` → `v1.85.0` |  |  | indirect | minor | | --- ### Release Notes <details> <summary>ebitengine/purego (github.com/ebitengine/purego)</summary> ### [`v0.11.3`](https://redirect.github.com/ebitengine/purego/releases/tag/v0.11.3) [Compare Source](https://redirect.github.com/ebitengine/purego/compare/v0.11.2...v0.11.3) - Fix crashes when calling C functions on Linux 386 caused by incorrect stack alignment, with or without Cgo enabled ([#​458](https://redirect.github.com/ebitengine/purego/issues/458)). </details> <details> <summary>hashicorp/terraform-exec (github.com/hashicorp/terraform-exec)</summary> ### [`v0.26.0`](https://redirect.github.com/hashicorp/terraform-exec/releases/tag/v0.26.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-exec/compare/v0.25.3...v0.26.0) NOTES: - bump Go compatibility from 1.25 to 1.26 ([#​612](https://redirect.github.com/hashicorp/terraform-exec/pull/612)) DEPENDENCIES: - build(deps): bump github.com/hashicorp/hc-install from 0.9.5 to 0.10.0 ([#​614](https://redirect.github.com/hashicorp/terraform-exec/pull/614)) - build(deps): bump github.com/hashicorp/terraform-json from 0.28.0 to 0.29.0 ([#​616](https://redirect.github.com/hashicorp/terraform-exec/pull/616)) ENHANCEMENTS: - Introduce `WorkspaceListJSON` method/command ([#​587](https://redirect.github.com/hashicorp/terraform-exec/pull/587)) - Introduce `StateMigrateJSON` method/command ([#​609](https://redirect.github.com/hashicorp/terraform-exec/pull/609)) BUG FIXES: - fix: `QueryJSON`: Avoid overriding `Terraform.Stdout` ([#​619](https://redirect.github.com/hashicorp/terraform-exec/pull/619)) </details> <details> <summary>hashicorp/terraform-registry-address (github.com/hashicorp/terraform-registry-address)</summary> ### [`v0.5.1`](https://redirect.github.com/hashicorp/terraform-registry-address/releases/tag/v0.5.1) [Compare Source](https://redirect.github.com/hashicorp/terraform-registry-address/compare/v0.5.0...v0.5.1) NOTES: - go: Go version requirement bumped from 1.25 to 1.26 ([#​153](https://redirect.github.com/hashicorp/terraform-registry-address/pull/153)) DEPENDENCIES: - build(deps): bump golang.org/x/net from 0.57.0 to 0.62.0 ([#​148](https://redirect.github.com/hashicorp/terraform-registry-address/pull/148), [#​153](https://redirect.github.com/hashicorp/terraform-registry-address/pull/153)) </details> <details> <summary>moby/sys (github.com/moby/sys/user)</summary> ### [`v0.5.0`](https://redirect.github.com/moby/sys/releases/tag/user/v0.5.0) #### Breaking changes ##### `IdentityMapping.ToHost` no longer special-cases the remapped root `ToHost` used to skip the ID-map lookup when the ID passed in was equal to the host remapped-root ID (as returned by `RootPair`). This was wrong: the arguments are *container* IDs, and comparing them against a *host* value made no sense. With a subuid/subgid base below 65536 (for example `rootless:1000:65536`, used to align dind-rootless container UIDs), a non-root container UID equal to the base (`1000` in this example) was returned unmapped, so it appeared as root inside the container. `ToHost` now always translates both UID and GID through the mappings. Container root (`0`) still maps to the host remapped-root base, same as `RootPair` returns. An empty (nil) mapping is treated as identity. What this means for callers: - Pass container IDs only. Code that passes the host remapped-root pair (for example, the result of `RootPair`) to `ToHost` and expects it back unchanged gets a different result or an error now. Pass `0, 0` instead, or use `RootPair` directly. - If `ToHost` returns an error, both returned IDs are now `-1`. Previously they could hold a partially translated value. The only known caller that was relying on old behavior was moby/moby; it was fixed by [moby/moby#53859](https://redirect.github.com/moby/moby/pull/53859). See [#​242](https://redirect.github.com/moby/sys/issues/242) and [#​241](https://redirect.github.com/moby/sys/issues/241). ##### Windows: `MkdirAndChown` no longer creates parent directories On Windows, `MkdirAndChown` used to call `os.MkdirAll`, so it also created any missing parent directories, unlike on Unix. It now uses `os.Mkdir`, as documented. Use `MkdirAllAndChown` if you need parent directories created. See [#​236](https://redirect.github.com/moby/sys/issues/236). #### Changes - user: GetExecUser: use strings.Cut to split user:group ([#​228](https://redirect.github.com/moby/sys/pull/228)) - user: GetExecUser: always clone default Sgids ([#​229](https://redirect.github.com/moby/sys/pull/229)) - user: GetExecUser: rewrite with parseUserArg, parseGroupArg ([#​231](https://redirect.github.com/moby/sys/pull/231), [#​232](https://redirect.github.com/moby/sys/pull/232)) - user: parseNumeric: require non-empty values ([#​235](https://redirect.github.com/moby/sys/pull/235)) - user: MkdirAllAndChown, MkdirAndChown: DRY ([#​244](https://redirect.github.com/moby/sys/pull/244)) - user: GoDoc fixes ([#​233](https://redirect.github.com/moby/sys/pull/233), [#​237](https://redirect.github.com/moby/sys/pull/237)) - user: test fixes and cleanups ([#​227](https://redirect.github.com/moby/sys/pull/227), [#​234](https://redirect.github.com/moby/sys/pull/234)) - user: require Go 1.24 ([#​272](https://redirect.github.com/moby/sys/pull/272)) #### New Contributors - [@​sueun-dev](https://redirect.github.com/sueun-dev) made their first contribution in [#​233](https://redirect.github.com/moby/sys/pull/233) - [@​okhowang](https://redirect.github.com/okhowang) made their first contribution in [#​242](https://redirect.github.com/moby/sys/pull/242) **Full Changelog**: <moby/sys@user/v0.4.1...user/v0.5.0> </details> <details> <summary>shirou/gopsutil (github.com/shirou/gopsutil/v4)</summary> ### [`v4.26.10`](https://redirect.github.com/shirou/gopsutil/releases/tag/v4.26.10) [Compare Source](https://redirect.github.com/shirou/gopsutil/compare/v4.26.9...v4.26.10) <!-- Release notes generated using configuration in .github/release.yml at v4.26.10 --> > \[!IMPORTANT] > > ## Planned breaking change: `disk.IOCounters` `ReadTime` / `WriteTime` on Windows > > This release includes [#​2164](https://redirect.github.com/shirou/gopsutil/issues/2164). In a future release, the Windows values of ReadTime and WriteTime will change significantly (seconds to milliseconds). The API will not change. > > On Windows, `ReadTime` and `WriteTime` are currently in **seconds**. > On Linux, macOS and FreeBSD they are in **milliseconds**. > This is a bug ([#​2160](https://redirect.github.com/shirou/gopsutil/issues/2160)). > > - **In a future release, the default on Windows will change to milliseconds.** > - This will happen when psutil fixes the same bug ([giampaolo/psutil#3002](https://redirect.github.com/giampaolo/psutil/issues/3002)), or in **February 2027** at the latest. > - After that change, Windows values will be 1000x larger than now. > > You can switch to milliseconds now with the new context key `disk.WillBeDeletedOptInWindowsIOTimeMs`: > > ```go > ctx := context.WithValue(context.Background(), disk.WillBeDeletedOptInWindowsIOTimeMs, true) > stats, err := disk.IOCountersWithContext(ctx) > ``` > > - Without this key, nothing changes in this release. > - Other platforms ignore this key. > - This key will be removed when milliseconds become the default. > Remove it from your code at that time. > > ([#​2164](https://redirect.github.com/shirou/gopsutil/issues/2164)) #### What's Changed ##### disk - disk/windows: convert IOCounters Read/WriteTime to milliseconds by [@​TastyHeadphones](https://redirect.github.com/TastyHeadphones) in [#​2164](https://redirect.github.com/shirou/gopsutil/pull/2164) ##### host - \[host]\[linux]: fix loginctl users fallback for systemd >= 256 by [@​houssemexo26](https://redirect.github.com/houssemexo26) in [#​2168](https://redirect.github.com/shirou/gopsutil/pull/2168) - \[host]\[linux]: Fall back to loginctl when utmp is unavailable by [@​SebastianLeitz](https://redirect.github.com/SebastianLeitz) in [#​2132](https://redirect.github.com/shirou/gopsutil/pull/2132) - \[sensors]\[freebsd]: implement TemperaturesWithContext by [@​AdamMagued](https://redirect.github.com/AdamMagued) in [#​2173](https://redirect.github.com/shirou/gopsutil/pull/2173) ##### mem - Compute swap used as total minus free on AIX by [@​pgimalac](https://redirect.github.com/pgimalac) in [#​2166](https://redirect.github.com/shirou/gopsutil/pull/2166) ##### process - process: keep /dev/tty\* when /dev/pts is missing by [@​TastyHeadphones](https://redirect.github.com/TastyHeadphones) in [#​2167](https://redirect.github.com/shirou/gopsutil/pull/2167) #### New Contributors - [@​TastyHeadphones](https://redirect.github.com/TastyHeadphones) made their first contribution in [#​2167](https://redirect.github.com/shirou/gopsutil/pull/2167) - [@​houssemexo26](https://redirect.github.com/houssemexo26) made their first contribution in [#​2168](https://redirect.github.com/shirou/gopsutil/pull/2168) - [@​SebastianLeitz](https://redirect.github.com/SebastianLeitz) made their first contribution in [#​2132](https://redirect.github.com/shirou/gopsutil/pull/2132) - [@​AdamMagued](https://redirect.github.com/AdamMagued) made their first contribution in [#​2173](https://redirect.github.com/shirou/gopsutil/pull/2173) **Full Changelog**: <shirou/gopsutil@v4.26.9...v4.26.10> </details> <details> <summary>testcontainers/testcontainers-go (github.com/testcontainers/testcontainers-go)</summary> ### [`v0.45.0`](https://redirect.github.com/testcontainers/testcontainers-go/releases/tag/v0.45.0) [Compare Source](https://redirect.github.com/testcontainers/testcontainers-go/compare/v0.44.0...v0.45.0) ### What's Changed ####⚠️ Breaking Changes - chore(modules)!: extract CockroachDB and Dex client adapters ([#​4087](https://redirect.github.com/testcontainers/testcontainers-go/issues/4087)) [@​mdelapenya](https://redirect.github.com/mdelapenya) > Client SDK dependencies have moved into separate examples modules. For CockroachDB, `ConnectionConfig` is now available through `cockroachdbexamples.NewContainer(c)` in `modules/cockroachdb/examples`. The parent’s `ConnectionString` and `MustConnectionString` now return PostgreSQL URLs instead of registered pgx handles, and importing the parent no longer registers the pgx SQL driver. Use the examples adapter to retain the previous SDK behavior, or configure the driver yourself. > > For Dex, `AddClient`, `RemoveClient`, `AddUser`, and `RemoveUser` have moved from `*dex.Container` to `dexexamples.NewAdminClient(c)` in `modules/dex/examples`. Static configuration through `WithClient` and `WithUser` is unchanged. - chore(modules)!: isolate client examples across ten modules ([#​4081](https://redirect.github.com/testcontainers/testcontainers-go/issues/4081)) [@​mdelapenya](https://redirect.github.com/mdelapenya) > For Cosmos DB, `ContainerPolicy` and `NewContainerPolicy` have moved from `modules/azure/cosmosdb` to `modules/azure/examples/cosmosdb`. Update the adapter import; its constructor still accepts the parent container. `Run`, `Container`, and `ConnectionString` remain unchanged in the parent module. #### 🔒 Security - security(deps): upgrade otel log sdk to v0.21.0 ([#​4047](https://redirect.github.com/testcontainers/testcontainers-go/issues/4047)) [@​mdelapenya](https://redirect.github.com/mdelapenya) #### 🚀 Features - feat(sbx): configure sandbox startup with Go options ([#​4057](https://redirect.github.com/testcontainers/testcontainers-go/issues/4057)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - feat: add Docker Sandboxes runtime provider ([#​3987](https://redirect.github.com/testcontainers/testcontainers-go/issues/3987)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - feat(garage): add single-node S3-compatible storage module ([#​3950](https://redirect.github.com/testcontainers/testcontainers-go/issues/3950)) [@​kanjih](https://redirect.github.com/kanjih) - feat: register runtime providers and introduce the Podman module ([#​3946](https://redirect.github.com/testcontainers/testcontainers-go/issues/3946)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - feat: add the ability to configure the provider type in the properties file or as an env var ([#​3494](https://redirect.github.com/testcontainers/testcontainers-go/issues/3494)) [@​mkeeler](https://redirect.github.com/mkeeler) - feat(kafka): add TLS support ([#​3917](https://redirect.github.com/testcontainers/testcontainers-go/issues/3917)) [@​RuslanKarabalin](https://redirect.github.com/RuslanKarabalin) #### 🐛 Bug Fixes - fix(wait): fail fast when logs are unavailable on a stopped container ([#​3898](https://redirect.github.com/testcontainers/testcontainers-go/issues/3898)) [@​skartikey](https://redirect.github.com/skartikey) - fix(wait): retry HostPortStrategy external check on connect timeout ([#​4055](https://redirect.github.com/testcontainers/testcontainers-go/issues/4055)) [@​pujitha24](https://redirect.github.com/pujitha24) - fix: handle OCI registry manifests and isolate k3s platform test ([#​4059](https://redirect.github.com/testcontainers/testcontainers-go/issues/4059)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - fix: setup ExposeHostPorts forward on container start hook ([#​3200](https://redirect.github.com/testcontainers/testcontainers-go/issues/3200)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - fix(wait): support non-pointer strategies in ForAny/ForAll nil checks ([#​4052](https://redirect.github.com/testcontainers/testcontainers-go/issues/4052)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - fix(rabbitmq): pass the node config from memory instead of a shared temp file ([#​3881](https://redirect.github.com/testcontainers/testcontainers-go/issues/3881)) [@​manduinca](https://redirect.github.com/manduinca) - fix: dial the sshd container on the Docker daemon host ([#​3877](https://redirect.github.com/testcontainers/testcontainers-go/issues/3877)) [@​timofurrer](https://redirect.github.com/timofurrer) - fix: validate the configured session ID ([#​3849](https://redirect.github.com/testcontainers/testcontainers-go/issues/3849)) [@​mdelapenya](https://redirect.github.com/mdelapenya) #### 📖 Documentation - docs: show cumulative clones and unique cloners ([#​4082](https://redirect.github.com/testcontainers/testcontainers-go/issues/4082)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(metrics): update github clones for 2026-10 ([#​4079](https://redirect.github.com/testcontainers/testcontainers-go/issues/4079)) @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) - chore: update usage metrics (2026-11) ([#​4077](https://redirect.github.com/testcontainers/testcontainers-go/issues/4077)) @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) - docs: fix dead links in module docs and comments ([#​4071](https://redirect.github.com/testcontainers/testcontainers-go/issues/4071)) [@​sarankumar1325](https://redirect.github.com/sarankumar1325) - chore(docs): move Python tooling out of the Go module ([#​3942](https://redirect.github.com/testcontainers/testcontainers-go/issues/3942)) [@​mikey923](https://redirect.github.com/mikey923) - docs: update Podman guide for the provider module ([#​4038](https://redirect.github.com/testcontainers/testcontainers-go/issues/4038)) [@​mdelapenya](https://redirect.github.com/mdelapenya) #### 🧹 Housekeeping - chore(modules): finish test client isolation and document examples modules ([#​4089](https://redirect.github.com/testcontainers/testcontainers-go/issues/4089)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(modules): isolate eight remaining compatible client SDKs ([#​4086](https://redirect.github.com/testcontainers/testcontainers-go/issues/4086)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(modules)!: extract CockroachDB and Dex client adapters ([#​4087](https://redirect.github.com/testcontainers/testcontainers-go/issues/4087)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(modules): isolate client examples across eleven more modules ([#​4084](https://redirect.github.com/testcontainers/testcontainers-go/issues/4084)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - fix(ci): initialize sbx network policy before tests ([#​4085](https://redirect.github.com/testcontainers/testcontainers-go/issues/4085)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(modules): isolate client examples across eleven modules ([#​4083](https://redirect.github.com/testcontainers/testcontainers-go/issues/4083)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore: update modules usage metrics (2026-11) ([#​4078](https://redirect.github.com/testcontainers/testcontainers-go/issues/4078)) @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) - chore(modules): remove client-only dependencies from nine modules ([#​4073](https://redirect.github.com/testcontainers/testcontainers-go/issues/4073)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(modules): isolate client examples for five modules ([#​4070](https://redirect.github.com/testcontainers/testcontainers-go/issues/4070)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(redis): isolate client examples in a separate module ([#​4063](https://redirect.github.com/testcontainers/testcontainers-go/issues/4063)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore: bump Go patch releases after CA certificates incident ([#​4060](https://redirect.github.com/testcontainers/testcontainers-go/issues/4060)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(docs): move Python tooling out of the Go module ([#​3942](https://redirect.github.com/testcontainers/testcontainers-go/issues/3942)) [@​mikey923](https://redirect.github.com/mikey923) - chore(deps): bump github.com/stretchr/testify in /modulegen ([#​4037](https://redirect.github.com/testcontainers/testcontainers-go/issues/4037)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.1 ([#​3994](https://redirect.github.com/testcontainers/testcontainers-go/issues/3994)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump Go to 1.26 everywhere ([#​3940](https://redirect.github.com/testcontainers/testcontainers-go/issues/3940)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - feat(metrics): track daily GitHub clones on the usage-metrics site ([#​3920](https://redirect.github.com/testcontainers/testcontainers-go/issues/3920)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - fix(minio): point MinIO image references to Quay, retiring it from CI matrix ([#​3932](https://redirect.github.com/testcontainers/testcontainers-go/issues/3932)) @​[copilot-swe-agent\[bot\]](https://redirect.github.com/apps/copilot-swe-agent) - chore: update usage metrics (2026-10) ([#​3919](https://redirect.github.com/testcontainers/testcontainers-go/issues/3919)) @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) - chore: update modules usage metrics (2026-09) ([#​3863](https://redirect.github.com/testcontainers/testcontainers-go/issues/3863)) @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) - chore: update usage metrics (2026-09) ([#​3862](https://redirect.github.com/testcontainers/testcontainers-go/issues/3862)) @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) - chore(mariadb): update test image to 12.3.2 ([#​3848](https://redirect.github.com/testcontainers/testcontainers-go/issues/3848)) [@​lucastsudaka](https://redirect.github.com/lucastsudaka) #### 📦 Dependency updates - chore(deps): bump github.com/go-jose/go-jose/v4 from 4.1.4 to 4.1.6 in /modules/dex/examples ([#​4088](https://redirect.github.com/testcontainers/testcontainers-go/issues/4088)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump go.mongodb.org/mongo-driver from 1.17.6 to 1.17.7 in /modules/weaviate/examples ([#​4075](https://redirect.github.com/testcontainers/testcontainers-go/issues/4075)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/weaviate/weaviate from 1.29.0 to 1.38.0 in /modules/weaviate/examples ([#​4076](https://redirect.github.com/testcontainers/testcontainers-go/issues/4076)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.83.2 in /modules/pinecone/examples ([#​4074](https://redirect.github.com/testcontainers/testcontainers-go/issues/4074)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(modules): remove client-only dependencies from nine modules ([#​4073](https://redirect.github.com/testcontainers/testcontainers-go/issues/4073)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(modules): isolate client examples for five modules ([#​4070](https://redirect.github.com/testcontainers/testcontainers-go/issues/4070)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(redis): isolate client examples in a separate module ([#​4063](https://redirect.github.com/testcontainers/testcontainers-go/issues/4063)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - fix(fakegcsserver): update image to avoid socketcall failures ([#​4062](https://redirect.github.com/testcontainers/testcontainers-go/issues/4062)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(deps): bump github.com/go-jose/go-jose/v4 from 4.1.4 to 4.1.6 in /modules/gcloud ([#​4061](https://redirect.github.com/testcontainers/testcontainers-go/issues/4061)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2 ([#​4042](https://redirect.github.com/testcontainers/testcontainers-go/issues/4042)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/aws/aws-sdk-go-v2/service/dynamodb in /modules/dynamodb ([#​4039](https://redirect.github.com/testcontainers/testcontainers-go/issues/4039)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump docker/setup-docker-action from 5.4.0 to 5.5.0 ([#​3993](https://redirect.github.com/testcontainers/testcontainers-go/issues/3993)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump certifi from 2026.2.25 to 2026.10.19 in /docs-site ([#​4049](https://redirect.github.com/testcontainers/testcontainers-go/issues/4049)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - security(deps): upgrade otel log sdk to v0.21.0 ([#​4047](https://redirect.github.com/testcontainers/testcontainers-go/issues/4047)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(deps): bump github.com/magiconair/properties in / ([#​4046](https://redirect.github.com/testcontainers/testcontainers-go/issues/4046)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/rabbitmq/amqp091-go in /modules/rabbitmq ([#​4048](https://redirect.github.com/testcontainers/testcontainers-go/issues/4048)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - security(deps): upgrade grpc to v1.83.2 ([#​4045](https://redirect.github.com/testcontainers/testcontainers-go/issues/4045)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(deps): bump peter-evans/slash-command-dispatch from 4.0.0 to 5.0.2 ([#​3952](https://redirect.github.com/testcontainers/testcontainers-go/issues/3952)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump ossf/scorecard-action from 2.4.3 to 2.5.0 ([#​3958](https://redirect.github.com/testcontainers/testcontainers-go/issues/3958)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/moby/go-archive from 0.2.0 to 0.3.3 ([#​3996](https://redirect.github.com/testcontainers/testcontainers-go/issues/3996)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/stretchr/testify in /modulegen ([#​4037](https://redirect.github.com/testcontainers/testcontainers-go/issues/4037)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.1 ([#​3994](https://redirect.github.com/testcontainers/testcontainers-go/issues/3994)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): group Go updates across modules ([#​4035](https://redirect.github.com/testcontainers/testcontainers-go/issues/4035)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(deps): bump github.com/moby/sys/user from 0.4.0 to 0.4.1 in /modules/s3mock ([#​3992](https://redirect.github.com/testcontainers/testcontainers-go/issues/3992)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/moby/sys/user from 0.4.0 to 0.4.1 in /modules/scylladb ([#​3991](https://redirect.github.com/testcontainers/testcontainers-go/issues/3991)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/moby/sys/user from 0.4.0 to 0.4.1 in /modules/typesense ([#​3990](https://redirect.github.com/testcontainers/testcontainers-go/issues/3990)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/moby/sys/user from 0.4.0 to 0.4.1 in /modules/socat ([#​3988](https://redirect.github.com/testcontainers/testcontainers-go/issues/3988)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump test-summary/action from 2.4 to 2.6 ([#​3953](https://redirect.github.com/testcontainers/testcontainers-go/issues/3953)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump golang.org/x/crypto from 0.54.0 to 0.58.0 ([#​3954](https://redirect.github.com/testcontainers/testcontainers-go/issues/3954)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/moby/moby/client from 0.6.0 to 0.6.2 ([#​3955](https://redirect.github.com/testcontainers/testcontainers-go/issues/3955)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/moby/sys/user from 0.4.0 to 0.4.1 in /modules/yugabytedb ([#​3986](https://redirect.github.com/testcontainers/testcontainers-go/issues/3986)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump Go to 1.26 everywhere ([#​3940](https://redirect.github.com/testcontainers/testcontainers-go/issues/3940)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(deps): bump github.com/moby/moby/client from 0.5.0 to 0.6.0 ([#​3938](https://redirect.github.com/testcontainers/testcontainers-go/issues/3938)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(deps): bump urllib3 from 2.7.0 to 2.8.0 ([#​3935](https://redirect.github.com/testcontainers/testcontainers-go/issues/3935)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github/codeql-action/init and github/codeql-action/analyze from 3.30.3 to 4.38.2 ([#​3939](https://redirect.github.com/testcontainers/testcontainers-go/issues/3939)) [@​mdelapenya](https://redirect.github.com/mdelapenya) - chore(deps): bump github.com/containerd/containerd/v2 from 2.2.8 to 2.2.9 in /modules/compose ([#​3914](https://redirect.github.com/testcontainers/testcontainers-go/issues/3914)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.83.0 to 1.83.2 in /modules/milvus ([#​3911](https://redirect.github.com/testcontainers/testcontainers-go/issues/3911)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.44.0 to 1.45.0 in /modules/compose ([#​3904](https://redirect.github.com/testcontainers/testcontainers-go/issues/3904)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.20.0 to 1.45.0 in /modules/milvus ([#​3900](https://redirect.github.com/testcontainers/testcontainers-go/issues/3900)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump go.opentelemetry.io/otel/sdk from 1.44.0 to 1.45.0 in /modules/gcloud ([#​3910](https://redirect.github.com/testcontainers/testcontainers-go/issues/3910)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.44.0 to 1.45.0 in /modules/compose ([#​3905](https://redirect.github.com/testcontainers/testcontainers-go/issues/3905)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.43.0 to 1.45.0 in /modules/grafana-lgtm ([#​3902](https://redirect.github.com/testcontainers/testcontainers-go/issues/3902)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump go.opentelemetry.io/otel/sdk from 1.44.0 to 1.45.0 in /modules/milvus ([#​3903](https://redirect.github.com/testcontainers/testcontainers-go/issues/3903)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace from 1.44.0 to 1.45.0 in /modules/compose ([#​3906](https://redirect.github.com/testcontainers/testcontainers-go/issues/3906)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/containerd/containerd/v2 from 2.2.5 to 2.2.8 in /modules/compose ([#​3890](https://redirect.github.com/testcontainers/testcontainers-go/issues/3890)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.83.1 to 1.83.2 in /modules/gcloud ([#​3889](https://redirect.github.com/testcontainers/testcontainers-go/issues/3889)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.2 in /modules/pinecone ([#​3887](https://redirect.github.com/testcontainers/testcontainers-go/issues/3887)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.2 in /modules/weaviate ([#​3888](https://redirect.github.com/testcontainers/testcontainers-go/issues/3888)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1 in /modules/gcloud ([#​3883](https://redirect.github.com/testcontainers/testcontainers-go/issues/3883)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.83.1 to 1.83.2 in /modules/compose ([#​3884](https://redirect.github.com/testcontainers/testcontainers-go/issues/3884)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.83.1 to 1.83.2 in /modules/etcd ([#​3885](https://redirect.github.com/testcontainers/testcontainers-go/issues/3885)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.83.1 to 1.83.2 in /modules/qdrant ([#​3886](https://redirect.github.com/testcontainers/testcontainers-go/issues/3886)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump actions/setup-go from 6.0.0 to 7.0.0 ([#​3864](https://redirect.github.com/testcontainers/testcontainers-go/issues/3864)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump actions/checkout from 6.0.2 to 7.0.1 ([#​3866](https://redirect.github.com/testcontainers/testcontainers-go/issues/3866)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump SonarSource/sonarqube-scan-action from 8.2.0 to 8.2.1 ([#​3865](https://redirect.github.com/testcontainers/testcontainers-go/issues/3865)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1 in /modules/qdrant ([#​3878](https://redirect.github.com/testcontainers/testcontainers-go/issues/3878)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1 in /modules/grafana-lgtm ([#​3879](https://redirect.github.com/testcontainers/testcontainers-go/issues/3879)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1 in /modules/etcd ([#​3873](https://redirect.github.com/testcontainers/testcontainers-go/issues/3873)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/rabbitmq/amqp091-go from 1.9.0 to 1.13.0 in /modules/rabbitmq ([#​3872](https://redirect.github.com/testcontainers/testcontainers-go/issues/3872)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(gcloud): bump gcloud emulators Docker images ([#​3876](https://redirect.github.com/testcontainers/testcontainers-go/issues/3876)) @​[copilot-swe-agent\[bot\]](https://redirect.github.com/apps/copilot-swe-agent) - chore(deps): bump github.com/gorilla/websocket from 1.5.0 to 1.5.3 in /modules/surrealdb ([#​3860](https://redirect.github.com/testcontainers/testcontainers-go/issues/3860)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.3 in /modules/milvus ([#​3859](https://redirect.github.com/testcontainers/testcontainers-go/issues/3859)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/moby/go-archive from 0.2.0 to 0.3.0 in /modules/solr ([#​3857](https://redirect.github.com/testcontainers/testcontainers-go/issues/3857)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1 in /modules/compose ([#​3869](https://redirect.github.com/testcontainers/testcontainers-go/issues/3869)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/apache/thrift from 0.23.0 to 0.24.0 in /modules/nebulagraph ([#​3870](https://redirect.github.com/testcontainers/testcontainers-go/issues/3870)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/moby/go-archive from 0.2.0 to 0.3.0 in /modules/vearch ([#​3854](https://redirect.github.com/testcontainers/testcontainers-go/issues/3854)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/moby/buildkit from 0.31.0 to 0.31.1 in /modules/compose ([#​3853](https://redirect.github.com/testcontainers/testcontainers-go/issues/3853)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/moby/go-archive from 0.2.0 to 0.3.0 in /modules/valkey ([#​3852](https://redirect.github.com/testcontainers/testcontainers-go/issues/3852)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/cilium/ebpf from 0.11.0 to 0.22.0 in /modules/milvus ([#​3850](https://redirect.github.com/testcontainers/testcontainers-go/issues/3850)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump software.sslmate.com/src/go-pkcs12 from 0.7.0 to 0.7.2 in /modules/azure ([#​3851](https://redirect.github.com/testcontainers/testcontainers-go/issues/3851)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) - chore(deps): bump github.com/weaviate/weaviate from 1.30.20 to 1.38.0 in /modules/weaviate ([#​3829](https://redirect.github.com/testcontainers/testcontainers-go/issues/3829)) @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) </details> <details> <summary>zclconf/go-cty (github.com/zclconf/go-cty)</summary> ### [`v1.20.0`](https://redirect.github.com/zclconf/go-cty/compare/v1.19.0...v1.20.0) [Compare Source](https://redirect.github.com/zclconf/go-cty/compare/v1.19.0...v1.20.0) </details> <details> <summary>yaml/go-yaml (go.yaml.in/yaml/v3)</summary> ### [`v3.0.6`](https://redirect.github.com/yaml/go-yaml/compare/v3.0.5...v3.0.6) [Compare Source](https://redirect.github.com/yaml/go-yaml/compare/v3.0.5...v3.0.6) </details> <details> <summary>grpc/grpc-go (google.golang.org/grpc)</summary> ### [`v1.85.0`](https://redirect.github.com/grpc/grpc-go/releases/tag/v1.85.0): Release 1.85.0 [Compare Source](https://redirect.github.com/grpc/grpc-go/compare/v1.84.0...v1.85.0) ### New Features - stats: Expose the effective client authority (sent on the wire as the HTTP/2 `:authority` header) in client `stats.OutHeader` events. ([#​9296](https://redirect.github.com/grpc/grpc-go/issues/9296)) - Special Thanks: [@​aryansk](https://redirect.github.com/aryansk) - metadata: Add `ValueFromOutgoingContext`, which reads a single metadata value from outgoing context without copying the entire outgoing metadata into a new map. ([#​9282](https://redirect.github.com/grpc/grpc-go/issues/9282)) - Special Thanks: [@​yuyangguo42](https://redirect.github.com/yuyangguo42) ### Bug Fixes - transport: Refine control buffer throttling to only count peer-induced control frames, raise the default `GRPC_GO_EXPERIMENTAL_CONTROL_BUFFER_THROTTLE_LIMIT` from 100 to 10,000, and close client connections if reads remain throttled for `10s`. ([#​9563](https://redirect.github.com/grpc/grpc-go/issues/9563)) - server: Ensure `Stop()` forcefully terminates the server while `GracefulStop()` is waiting for active handlers to complete. ([#​9394](https://redirect.github.com/grpc/grpc-go/issues/9394)) - Special Thanks: [@​stanhu](https://redirect.github.com/stanhu) - server: Unconditionally increment the highest-seen stream ID on when handling `HEADERS` frames to comply with [RFC 7540 §5.1.1](https://www.rfc-editor.org/rfc/rfc7540.html#section-5.1.1). Previously, truncated `HEADERS` frames left the connection in an inconsistent state and allowed stream IDs to be reused by clients without resulting in a protocol error. ([#​9414](https://redirect.github.com/grpc/grpc-go/issues/9414)) - server: Terminate streams immediately when a `HEADERS` frame includes the `EndStream` bit. Previously, this caused server handlers to hang when reading a message. ([#​9391](https://redirect.github.com/grpc/grpc-go/issues/9391)) - server: Reject requests missing both `:authority` and `Host` headers with HTTP 400 and status `Internal`. ([#​9365](https://redirect.github.com/grpc/grpc-go/issues/9365)) - xds: Fix a bug where route header matchers with non-lowercase names failed to match routes. ([#​9353](https://redirect.github.com/grpc/grpc-go/issues/9353)) - Special Thanks: [@​winklemad](https://redirect.github.com/winklemad) - client: Ensure retried RPCs use the correct `:authority` value specified by the LB policy instead of inheriting it from a previous attempt. ([#​9277](https://redirect.github.com/grpc/grpc-go/issues/9277)) - Special Thanks: [@​nvxbug](https://redirect.github.com/nvxbug) - transport: Fail streams with `io.ErrUnexpectedEOF` instead of `io.EOF` upon receiving truncated message headers or bodies after partial data has already been received. ([#​9204](https://redirect.github.com/grpc/grpc-go/issues/9204)) - Special Thanks: [@​buger](https://redirect.github.com/buger) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/artuross/terraform-provider-redis). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTcuMyIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ny4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Summary
With userns-remap, the layers of another build stage or image are stored
with host (remapped) IDs. The classic builder copies files from such a
source (
COPY --from) using an archiver with the daemon ID mapping, whichtreats file owner IDs as container IDs and maps them again. As a result:
COPY --fromof a file owned by a non-root user fails withcontainer ID 100100 cannot be mapped to a host ID;IdentityMapping.ToHost, which skips mapping IDs equal to the remappedroot ones. That special case is a bug in itself ([userns-remap] Bug: ToHost incorrectly maps non-root container UID to root when it collides with RootPair sys#241), and its
removal (user: fix ToHost treating a non-root uid equal to the remapped-root base as the remapped root sys#242) would break
COPY --fromfor all files.This PR makes the classic builder use an archiver without ID mapping
when copying from another build stage or image. Since such an archiver
would create new directories owned by the host root, the destination
directory and its parents are created beforehand, owned by
the remapped root (with
--chown, a newly created destination directoryis chowned afterwards, as before). Similarly, when copying a single file
with ownership preserved, its new parent directories are now created
owned by the remapped root rather than the host root.
A unit test is added. It requires root; I ran it in a user namespace:
It fails without the fix with the error above, and passes with the fix,
also with
ToHostfrom moby/sys#242 vendored in.The
TestBuildPreserveOwnershipintegration test should have caught thisin the userns CI mode, but it does not check for build errors reported in
the response stream. This is fixed by the second commit.
AI disclosure: the investigation, the fix, and the test were done with
Claude Code, and reviewed by me.
Release notes (optional)