Exécuter des conteneurs podman sous systemd n'est pas nouveau. En effet, cela a été pris en charge par podman depuis longtemps avec la commande podman generate systemd mais cette commande nous invite à migrer vers quadlet.
J'apprécie vraiment quadlet et il n'y a pas beaucoup de doc synthétique et en français sur le sujet !
Avec quadlet, podman est vraiment une alternative à Docker Compose qui est encore plus flexible et puissante !
(pour configurer wallabag)
chatgpt me dit:
# (English comment: Modified to use quadlets integration instead of deprecated 'podman generate systemd')
[Unit]
Description=Podman container %i
After=network-online.target
Wants=network-online.target
[Service]
Restart=always
# (English comment: Run container with systemd integration via '--systemd=always')
ExecStart=/usr/bin/podman run --rm --systemd=always --name %i your-image
ExecStop=/usr/bin/podman stop %i
KillMode=none
[Install]
WantedBy=multi-user.target
lacez ce fichier dans /etc/systemd/system/container-%i.service, puis activez-le par :
# (English comment: Enable and start the container service)
systemctl enable --now container-yourname.service
Cette méthode vous offre une intégration native avec systemd via les Quadlets.
mais je ne vois pas le rapport pour l'instant
explication oauth
générateur de wavform sur fichier audio
remplaçant dropbox, install & forget
a tester un jour, très intriguant