10
Add rootless-podman-service-type
(issues.guix.gnu.org)
Guix is an advanced distribution of the GNU operating system developed by the GNU Project
Would be pretty useful, as far as I know there is no way to change
/etc/{subuid,subgid}
in the system configuration without manually editing.Another annoyance with podman on guix is making
/
a shared mount doesn't work so changes in mounts aren't propagated.Well I had to make one :) it is being tracked on https://issues.guix.gnu.org/72337 . You can define subuid and subgid ranges like so:
which would yield
I think I solved that by using a Shepherd service run on boot calling
mount --make-shared /
. I didn't do extensive testing of mounts but I'm currently using this on my systems as it's set up in my personal channel. By adding the following to my own system configI'm able to run the following rootless Podman hello world
and with
guix shell podman-compose
I'm able to run this Podman compose hello world:So some kind of mount appears to work. Thank you for your feedback and feel free to try the service from my own channel if you are interested in providing more or in trying rootless podman on the Guix System.
For my non-guix (and foreign) systems I've switched to Podman, but for Guix System I've fallen back to Docker as I haven't gotten up the time and courage to deviate too far from the documented/mainline approach so that I can use Podman; hopefully they'll get some updates to address's it