Looking into using #Podman rather than #Docker for my new home server build.
-
@jmb you’ll want systemd integration so the containers start on boot - it’s affectionately called quadlets. I use rootless, so set it up in ~/.config/containers/systemd. Sometimes it can be nice to have separate dedicated users for different services.
-
@jmb I would say don't, but life is about the journey. Good luck.
-
This guide from @Larvitz is superb… https://blog.hofstede.it/podman-in-production-quadlets-secrets-auto-updates-and-docker-compatibility/
Just investigating the best way to set up additional users and if I can centralise all the config files whilst still being rootless.
-
@jmb No tips. Seems to work. I'm a very light user. Only 3 containers. But it seems solid.
-
@jmb this is a great guide that goes into quadlet syntax, running rootless, and how to setup services that need multiple containers
How to install multi-container applications with Podman quadlets
Quadlet files make it easy to manage applications that need multiple containers, without needing root privileges
Giacomo Coletto (giacomo.coletto.io)
The multi container (db + app) setup is different from docker compose, where you can just toss both containers in one config file. Systemd/Quadlets doesnt support that, but the method is still pretty straightforward.
-
This guide from @Larvitz is superb… https://blog.hofstede.it/podman-in-production-quadlets-secrets-auto-updates-and-docker-compatibility/
Just investigating the best way to set up additional users and if I can centralise all the config files whilst still being rootless.
@Larvitz I’m trying to work out if it’s possible to set your example up completely rootless (albeit with Caddy) with different users for each service. With all the isolation, it seems impossible to use different users for each service but join to the same frontend-network. I guess I need just one podman user to run all my services under.
#podman #podmanQuadlets #podmanRootless -
@Larvitz I’m trying to work out if it’s possible to set your example up completely rootless (albeit with Caddy) with different users for each service. With all the isolation, it seems impossible to use different users for each service but join to the same frontend-network. I guess I need just one podman user to run all my services under.
#podman #podmanQuadlets #podmanRootless@jmb The networks of different users are seperate and isolated from each other.