start podman container on boot

Hi everyone. I wanted to use jellyfin and started using it in a docker container, but now I want to make it more permanent. I used 'sudo podman generate systemd --new --name my-jellyfin > /etc/systemd/system/container-myjellyfin.service' but that returns 'permission denied'. I assume there's a simple way to do this that I'm missing.
5 Replies
wolfyreload
wolfyreload6mo ago
I found that the flatpak version was easier to install (just use the discover app or software center), you need to play with flatseal permissions if you want to use it with external drives
wolfyreload
wolfyreload6mo ago
However if you want to use podman there are instructions on their website https://jellyfin.org/docs/general/installation/container/#podman
Container | Jellyfin
Install as a container using Docker, Podman and others.
astro
astroOP6mo ago
the flatpak version is more convenient but it's 10.8, and 10.9 has been out for like 2 weeks
memiks
memiks6mo ago
Hi, when you sudo this will execute the next command in root not the '>' ( since this is a pipe so another command ) so you have permission denied. You can use first 'sudo -i' to become root then your command without root. Use 'exit' to quit root terminal 👍
brug
brug6mo ago
try using quadlets insteaed of podman generate systemd they're the replacement, and it seems generating systemd files has only got more and more unreliable since quadlet is the new focus
Want results from more Discord servers?
Add your server