6 ms·
There are lots of cools aspects of podman, for the admin one the real nice things is its integration with systemd. podman generate systemd <containerid> to ge
by _red 5y ago
There are lots of cools aspects of podman, for the admin one the real nice things is its integration with systemd.
podman generate systemd <containerid>
to generate .service files which can then be launched via systemd.
- agilob 5y agocan you get journal logs from a pod? archive and limit logs size etc using existing systemd configuration?
- _red 5y agoyes, via journalctl
- torvald 5y agoNeat, thanks for the tip!
- spicyusername 5y agoThis is a super underrated feature. You can do some really cool things when you combine this with Ignition and Fedora CoreOS. Ignition has the ability to manage systemd units on boot. https://docs.fedoraproject.org/en-US/fedora-coreos/running-containers/#_introduction https://docs.fedoraproject.org/en-US/fedora-coreos/running-c... https://developers.redhat.com/blog/2020/03/12/how-to-customize-fedora-coreos-for-dedicated-workloads-with-ostree https://developers.redhat.com/blog/2020/03/12/how-to-customi... Automatically boot, bootstrap the OS, and run your containers via systemd, all driven by infrastructure-as-code ignition files. A much simpler edge or single-node container experience than using Kubernetes.