hey all! i need a little help here.
i’m just starting to get into self-hosting, and have chosen MicroOS and podman as my environment and tool.
would someone be able to clarify something for me?
I have a MicroOS install for containers, and it seems to only come with a root user. so if i use podman, won’t all my pods be rootful?
i try to make a new non-root user, but podman just keeps complaining about privileges when i run it under that user.
so how is this intended to work exactly?
thanks for any help!
Sunny@slrpnk.net 3 weeks ago
I don’t run MicroOS myself so take this with a grain of salt. But this is usually how I do it, though there might be a better practice out there for this too.
Afaik, MicroOS by the sound of it, only ships with root by default, but rootless Podman should definitely be possible.
Normally, you need to set up user namespace mappings for your non-root user. Run these commands as root:
Then check they’re set up with:
This should give your regular user the ability to map container UIDs without needing root privileges. After that, Podman should work fine as your regular user.
Hope this helps a little 👍
nico198x@europe.pub 3 weeks ago
it does, thanks! i’m mostly really surprised that MicroOS hasn’t prepared all of this ahead of time for something that’s supposed to be a “ready for podman containers” install.
oakcroissant@feddit.org 3 weeks ago
This is what the Aeon maintainer said about root vs rootless in MicoOS:
Source thread (Reddit)