en.osm.town is one of the many independent Mastodon servers you can use to participate in the fediverse.
An independent, community of OpenStreetMap people on the Fediverse/Mastodon. Funding graciously provided by the OpenStreetMap Foundation.

Server stats:

268
active users

#podman

12 posts11 participants0 posts today

I just found this website about systemd: systemd-by-example.com/

It's a teaching website and playground to learn how to do dependency management with systemd units.

You can follow the instructions locally with a podman container or play with how the example systemd units interact on the website.

systemd-by-example.comsystemd by example - the systemd playground
More from Sebastian Jambor
Replied to Stefan Frede

@stefanfrede

Just in case you didn't know (but I guess you specifically need docker-compose.yml syntax):

#Podman reuses SystemD to replace Docker Compose because SystemD has way more options, makes it easy to integrate containerized services with non-containerized ones and the host system. Podman includes a SystemD unit generator, #Quadlet, allowing you to manage files like .container, .image, .network, .build and more.

1/2

Unfortunately, I had to switch to #Docker for a personal project of mine because I could not get `podman compose` to work for me, and I ran directly into a problem with my VPN that I did not have with #Podman, which took me quite a while to figure out. The solution was to use `--network host`.

Filed a bug against #podman, where #rootless container routing (to the hosts subnet) seems to go wrong when the host ip is being assigned via dhcp using NetworkManager.

Configuring it statically makes everything work just fine. Figured it out yesterday why my containers would no longer properly work.

If I wasn't sick I'd go dig in the code, but filing this is as far as I'll go today...

And another system and container update has broken nextcloud-aio on podman completely.

Container's start script can't resolve DNS, even when explicitly given a --dns=1.1.1.1

No issues with othe containers. Nextcloud-aio tries to configure a lot networking stuff itself...

This is the part of self-hosting that sucks.