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.


I have a Server with ~16 podman services, each their own user, network namespace and uids. This is managed using NixOS and Home manager (which supports quadlets) but I am changing my setup to a single node k3s cluster with user namespaces because that seems simpler to manage. Here a snippet for how the subuids/subuids are defined:
users.users.<username> = { subUidRanges = [{ startUid = 100000+65536*( config.users.users.<username>.uid - 999); count = 65536; }]; subGidRanges = [{ startGid = 100000+65536*( config.users.users.<username>.uid - 999); count = 65536; }]; home = "[...]"; isNormalUser = true; linger = true; group = "users"; openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys; };