• 238 Posts
  • 1.37K Comments
Joined 1 year ago
cake
Cake day: March 20th, 2024

help-circle











  • 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:

    usermod --add-subuids 100000-165535 <yourusername>
    usermod --add-subgids 100000-165535 <yourusername>
    

    Then check they’re set up with:

    grep <yourusername> /etc/subuid
    grep <yourusername> /etc/subgid
    

    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 👍




  • Lol yeah fair point.

    My main concern was that a fair amount of people tend to customize their windows install into oblivion and end up loosing their data. Did it myself before I learned my lesson 😅

    Took me a while to realise Linux was the solution all my issues, been very happy since! But ofc, whatever works for you is good enough, sounds like u know what you’re doing.






  • Sips'@slrpnk.netOPtolinuxmemes@lemmy.worldLinux as the true Trojan!
    link
    fedilink
    arrow-up
    10
    arrow-down
    5
    ·
    12 days ago

    If your OS is so brittle that you can’t upgrade it without “losing so much random stuff,” you’re not standing on solid ground, and I’d argue "it doesn’t work properly either. You’re basically balancing on a house of cards that, and eventually it will fall, and it won’t be pretty. Do yourself a favour and switch to a more future-proof solution, now that you still have proper access to your data. Future you will most likely thank yourself.