Skip to content
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

amd-bootc: Share the additional container storage #795

Merged

Conversation

fabiendupont
Copy link
Contributor

We need to share container image storage between rootless users, so that we don't need sudo and we don't duplicate the instructlab image. This change follows the Red Hat solution to
create additional image store for rootless
users
.

The /usr/lib/containers/storage folder can be read by anyone and new users will inherit a default configuration via /etc/skel that configures the additional storage.

The ilab wrapper is also modified to remove the impersonation code and not use sudo anymore.

Follow-up on #766

We need to share container image storage between rootless users, so that
we don't need `sudo` and we don't duplicate the `instructlab` image.
This change follows the Red Hat solution to
[create additional image store for rootless
users](https://access.redhat.com/solutions/6206192).

The `/usr/lib/containers/storage` folder can be read by anyone and new
users will inherit a default configuration via `/etc/skel` that
configures the additional storage.

The `ilab` wrapper is also modified to remove the impersonation code and
not use `sudo` anymore.

Follow-up on containers#766

Signed-off-by: Fabien Dupont <[email protected]>
@fabiendupont
Copy link
Contributor Author

@rhatdan, @giuseppe

Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rhatdan
Copy link
Member

rhatdan commented Oct 2, 2024

LGTM

@rhatdan rhatdan merged commit e67cfbe into containers:main Oct 2, 2024
1 check passed
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