containers / ai-lab-recipes

Examples for building and running LLM services and applications locally with Podman
Apache License 2.0
111 stars 110 forks source link

amd-bootc: Share the additional container storage #795

Closed fabiendupont closed 1 month ago

fabiendupont commented 1 month ago

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

fabiendupont commented 1 month ago

@rhatdan, @giuseppe

rhatdan commented 1 month ago

LGTM