Just your average quirky thigh-high socks enjoyer programmer. :3

  • 4 Posts
  • 90 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle




  • Well that can be understandable, but AFAIK podman generate still works, so if you can’t do something with Quadlet, then you can stays with generate until then. For example, I’m using Quadlet and now podman generate too since my Rocky 9 podman can’t be upgraded to podman 5 which means no pod support for you.


  • PrivateNoob@sopuli.xyztoSelfhosted@lemmy.worldConfused about Podman
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    3 months ago

    I’m a pretty Podman novice guy too but I’m running quadlets since it automatically creates and runs these containers just like the other services would be with systemd. In terms of networking I can usually access to my container via publishing a port and using the PC’s IP where the container is running, and this is the default network that Podman uses initially.

    I have a Jellyfin quadlet config, that may help you. I’ve had numerous sufferings to make a working one, but here you go (These 3 files are in ~/.config/containers/systemd/jellyfin):

    Description=Jellyfin Media Server
    After=network.target
    
    [Container]
    Image=lscr.io/linuxserver/jellyfin:latest
    PublishPort=8096:8096
    Volume=jellyfin-config.volume:/config:Z
    Volume=jellyfin-cache:/cache:Z
    Volume=/home/USERNAME/media/storage1/Filmek:/data/Filmek:Z,U
    Volume=/home/USERNAME/media/storage1/Sorozatok:/data/Sorozatok:Z,U
    
    [Service]
    Restart=on-failure
    
    [Install]
    WantedBy=default.target
    
    [Unit]
    Description=Jellyfin Cache Volume
    
    [Volume]
    
    [Unit]
    Description=Jellyfin Config Volume
    
    [Volume]
    

    Please do ask questions if you have any. ^^