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

  • 1 Post
  • 22 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. ^^









  • Okay so I’ve done these steps (it seems rootless podman have been setup by Rocky automatically):

    1. Get subuid:subgid with /etc/subuid:

    privatenoob:100000:65536

    2.:Changed ExecStart to this:

    ExecStart=podman run --name=radarr -u 100000:65536 -p 7878:7878 -v radarr-config:/config -v /home/privatenoob/media/storage1/Filmek:/data --restart unless-stopped lscr.io/linuxserver/radarr:latest

    3.: podman unshare chown -R 100000:65536 /home/privatenoob/media/storage1/Filmek/

    Unfortunately unsharing gave me invalid arguments.

    chown: changing ownership of '/home/privatenoob/media/storage1/Filmek/': Invalid argument

    I have tried by leaving the -e PUID=1000 parts on but those didn’t work either. Yeah and I’m using systemctl --user. Thanks for your help!