So, I’ve finally gotten a comfortable setup for my beautiful podman quadlets, its a simple debian system, heavily systemd reliant, and I’m curious about how yall admin such a thing, I’ve got a couple of scripts to create users, skel the home directories, and templates for services.

I’m particularly curious about handling subids, I’m pretty careful about them and not using too too many, mostly for being afraid of running out of them lol. But from what I’ve seen, linux allows you to go real stupid with it, like having a shitton of range and entrances.

I personally give my quad users like 500 subids to work with and they generally work fine, it really depends on if I’m gonna have more than one service running on them or not.

  • kanera@feddit.clOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 hours ago

    So far I’ve circumvented networking with different users by mapping everything through localhost, without stuff going outside the network, how would you connect say; a service running on user A, on network A, to a service running on user B, on network B?

    So far I can’t imagine how to connect both, unless im doing some disgusting nftables hackery, which is an option I COULD take, just one I dont want to take.

    • reluctant_squidd@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 hours ago

      If I am following, there are a few ways, which shouldn’t involve hacks in nft, but you would need it allowing at least localhost traffic, which I assume you do already.

      The keyword “localhost” usually will only work within a network or pod on rootless, however there is a separate address that can work.

      host.containers.internal

      I use it quite often for extra-user and pod communication. Hopefully this helps.