-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop putting user.overlay.*
into container layer
#1847
Stop putting user.overlay.*
into container layer
#1847
Conversation
Signed-off-by: Christopher Homberger <christopher.homberger@web.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ChristopherHX, giuseppe The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Thank you for reviewing / merging my patch. I have verified that latest buildah now works as expected from my side, I'm just attaching more information to this PR for others finding this change. The PR description didn't provide steps to create such an breaking image with buildah. These steps for old buildah releases (like
tar output of buildah before containers/buildah@662908f
the rootless docker dind has problems applying this attribute Some backlinks for changes on docker side |
Context for others who might discover this while attempting to pull images via rootless docker. The v25 release of Docker engine made a bugfix so that "Unpacking layers with extended attributes onto an incompatible filesystem will now fail instead of silently discarding extended attributes." (https://github.com/moby/moby/releases/tag/v25.0.0). However, rootless docker with the native overlay storage driver (docker calls it overlay2) cannot run |
EDIT its this known limitation of docker 25: https://docs.docker.com/engine/release-notes/25.0/#known-limitations
To reprodce the bug caused by this attribute in docker rootless dind containers you can do
The old image was built with buildah release included in ubuntu 22.04
The newer image
ghcr.io/catthehacker/ubuntu:act-latest-20240228
is built with a patched buildah and works without issuesReferences
It is possible that this is a bug in docker 25.x and not here, since older dind rootless images with 24.x and older are working
In the meantime I built my images with a fork of buildah using this patch, it is up to you to decide if this is a good or bad change.