Skip to content

Conversation

@djgalloway
Copy link
Contributor

This might explain a lot of the storage weirdness we've been observing. If a container image layer is create in rootless on podman on one machine, that image layer is restored to another host with different subuid or subgid, errors can occur.

@djgalloway djgalloway requested a review from dmick December 19, 2025 03:19
This might explain a lot of the storage weirdness we've been observing.  If a container image layer is create in rootless on podman on one machine, that image layer is restored to another host with *different* subuid or subgid, errors can occur.

Signed-off-by: David Galloway <david.galloway@ibm.com>
`chown`ing the podman storage directory is problematic when using rootless podman

Signed-off-by: David Galloway <david.galloway@ibm.com>
@dmick
Copy link
Member

dmick commented Dec 24, 2025

mentioned in slack, but adding here for completeness:

It seems to be the case that "container images" (like you'd push) do not contain any info about the subuid/subgid mapping used to create them; they have container-internal UIDs in them that will get mapped when instantiated into a container. Do you remember what it was that broke exactly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants