Skip to content

rechunker: automatically handle container storage #5346

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

Open
cgwalters opened this issue Mar 27, 2025 · 0 comments
Open

rechunker: automatically handle container storage #5346

cgwalters opened this issue Mar 27, 2025 · 0 comments
Assignees
Labels
area/build-chunked Issues related to chunked image builds kind/enhancement triaged This issue was triaged

Comments

@cgwalters
Copy link
Member

Our current docs suggest podman run -v /var/lib/containers/storage:/var/lib/containers/storage but for rootless we need ~/.local/share/containers/storage which is non-obvious and confusing to users.

In bootc-dev/bootc#919 I wrote some code to automatically do the bind mounts from inside the container which avoids this confusion for users - but we'd need to detect the "running rootless" vs "rootful" case inside the container which we can also do by parsing /run/.containerenv - bootc has code for this too.

@cgwalters cgwalters added area/build-chunked Issues related to chunked image builds kind/enhancement triaged This issue was triaged labels Mar 27, 2025
@cgwalters cgwalters self-assigned this Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build-chunked Issues related to chunked image builds kind/enhancement triaged This issue was triaged
Projects
None yet
Development

No branches or pull requests

1 participant