Repository navigation
client: Respect CONTAINERS_GRAPHROOT and CONTAINERS_RUNROOT - #2645
Merged
Merged
Conversation
alexlarsson
force-pushed
the
override-graphroot
branch
from
September 3, 2026 11:00
510eb74 to
68e18d1
Compare
These are set by podman unshare when in a rootless mode so that e.g. podman will pick up ~/.local/share/container/storage instead of /var/lib/container/storage even though uid is 0 in the unshare. It is also a useful way to make image-builder use a custom container storage. This matches what osbuild already does since: osbuild/osbuild#2550 Also, if this is set, don't assume we're using /var/lib/containers/storage if in a rootless container.
alexlarsson
force-pushed
the
override-graphroot
branch
from
September 3, 2026 11:23
68e18d1 to
b1f9f66
Compare
supakeen
approved these changes
Sep 3, 2026
achilleas-k
approved these changes
Sep 3, 2026
achilleas-k
enabled auto-merge
September 3, 2026 13:09
codelinaro-mirror-sync Bot
pushed a commit
to CodeLinaro-mirror/le_centos_automotive_src_automotive-image-builder
that referenced
this pull request
Sep 9, 2026
With osbuild/image-builder#2645 and osbuild/osbuild#2550 we can now use CONTAINERS_GRAPHROOT/CONTAINERS_RUNROOT to override the container storage for image-builder and osbuild.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These are set by podman unshare when in a rootless mode so that e.g. podman will pick up ~/.local/share/container/storage instead of /var/lib/container/storage even though uid is 0 in the unshare.
It is also a useful way to make image-builder use a custom container storage.
This matches what osbuild already does since:
osbuild/osbuild#2550