20
submitted 6 months ago by Botzo@lemmy.world to c/selfhosted@lemmy.world

I don't really have anyone else to shout at about this, but it's an amazing way to host services in rootless containers entirely in user space using systemd (systemctl --user).

https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html

top 10 comments
sorted by: hot top controversial new old
[-] giacomo@lemmy.dbzer0.com 4 points 6 months ago

hell yeah! i moved my whole setup from docker to podman with systemd with quadlets. auto updates and everything. so smooth.

[-] k_rol@lemmy.ca 3 points 6 months ago

I love the concept too and I just hope it will catch on much more than this. To convert your compose files you could use Podlet. I'm also working on converting it to JavaScript(PodletJS) so it's available in it-tools.

Go for Podlet though, really nice for command lines.

Sorry for all the links, I got overly excited 😆

[-] possiblylinux127@lemmy.zip 2 points 6 months ago

They are generally pretty good but troubleshooting them is a pain. Quadlets are also a bit more more complex than Docker compose.

Note: User space includes root and anything not running in kernel space.

[-] Botzo@lemmy.world 1 points 6 months ago

I'm definitely interested in your experience and why you came to those conclusions because I'm not sure I can agree on the primary points.

But I have to give you the note. Root is also user space (if privileged). I've barely ever done anything actually in kernel space, so I guess it's easy for me to screw that up.

[-] dust_accelerator@discuss.tchncs.de 1 points 6 months ago

Ah yes, a fellow quadlet enjoyer. Cheers!

Did

$ /usr/lib/systemd/system-generators/podman-system-generator --user --dryrun

Also prove to be really valuable, too?

[-] Botzo@lemmy.world 2 points 6 months ago

I didn't use that! I had a docker-compose file and used podlet to translate (which took a little massaging due to it not supporting interpolations).

/usr/libexec/podman/quadlet --user --dryrun was quite helpful though!

[-] Overspark@feddit.nl 1 points 6 months ago

If you want to use caddy as proxy for other containers running as quadlets have a look at this repo: https://github.com/eriksjolund/podman-caddy-socket-activation

It certainly demystified some network shenanigans for me.

[-] poVoq@slrpnk.net 1 points 6 months ago

Yeah, those are very convenient and much easier than having to deal with Kubernetes or such.

[-] mongoose@sopuli.xyz 2 points 6 months ago

Yeah replacing my k3s -> microk8s -> k3s multi-month headache with like 5 basic quadlet files in an evening was so wonderful and a relief

[-] justme@lemmy.dbzer0.com 1 points 6 months ago

I like them very much as well, only thing I'm annoyed about is that you always need to drag that --user option.... I mean, if I'm not using root or sudo, shouldn't it be clear that I'm talking about the user space?

this post was submitted on 25 Jul 2025
20 points (91.7% liked)

Selfhosted

56359 readers
63 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS