• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Off Topic General Discussion Docker Container Issues

     
    • 0 Vote(s) - 0 Average

    Docker Container Issues

    Docker Container
    dave_87426
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2026 Apr
    Reputation: 0
    #1
    2026-04-17, 06:09 PM
    Hello everyone

    Since not sure where to start i will ask this in the general chat.

    I have just pulled jellyfin to added to docker container. 

    Seems everything went fine but Jellyfin website does not open can not find it. 
    i checked in docker with docker ps and i see this 
    b6068afd99ac  jellyfin/jellyfin                        "/jellyfin/jellyfin"    12 minutes ago  Restarting (139) 23 seconds ago                                                jellyfin

    So the container is there but keeps restarting. 

    This is the docker command i ran to create the container.

    docker run -d --name jellyfin --user 1000:1000 -p 8181:8181/tcp -p 7359:7359/udp --volume /media/data/jellyfinConfused-faceconfig --volume /media/data/jellyfinConfused-facecache --mount type=bind,source=/media/TV_Shows,target=/media --restart=unless-stopped jellyfin/jellyfin

    I changed the port from 8096 to 8181 and i have another application running and using port 8096.

    Any help or recommendations would be appreciated. 

    Thanks

    Dave
    toytown
    Offline

    Member

    Posts: 130
    Threads: 3
    Joined: 2023 Jun
    Reputation: 4
    #2
    2026-04-17, 07:10 PM
    Quote: -p 8181:8181/tcp -p 7359:7359/udp

    You have this part wrong, you are mapping port 8181 on the host, to port 8181 on the docker (it doesnt have anything handling it)
    You can correct it with

    Code:
    -p 8181:8096/tcp

    This will mean you can connect to the host using port 8181 and it will map directly to jellyfins 8096 inside the docker.
    dave_87426
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2026 Apr
    Reputation: 0
    #3
    2026-04-18, 01:46 AM
    what if i have another application in docker that uses the 8096 with this still work with jellyfin
    dave_87426
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2026 Apr
    Reputation: 0
    #4
    2026-04-18, 02:08 AM
    ok when i run the docker command

    docker run -d --name jellyfin --user 1000:1000 -p 8181:8096/tcp -p 7359:7359/udp --volume /media/data/jellyfinConfused-faceconfig --volume /media/data/jellyfinConfused-facecache --mount type=bind,source=/media/TV_Shows,target=/media --restart=unless-stopped jellyfin/jellyfin

    i now get this

    Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint jellyfin (5fbea73710a8da7a8cbf82a2463debeb7abe80699e0b7602b190be8e62424732): failed to bind host port 0.0.0.0:7359/udp: address already in use
    toytown
    Offline

    Member

    Posts: 130
    Threads: 3
    Joined: 2023 Jun
    Reputation: 4
    #5
    2026-04-18, 11:09 AM (This post was last modified: 2026-04-18, 11:12 AM by toytown.)
    (2026-04-18, 01:46 AM)dave_87426 Wrote: what if i have another application in docker that uses the 8096 with this still work with jellyfin

    Yes you can run as many containers that have an internal port 8096 as you like, as long as you map it to a unique port on the host.  i.e. you could run

    jellyfin1 8181:8096
    jellyfin2 8182:8096 
    jellyfin3 8183:8096  
    jellyfin4 8184:8096  

    and have 4 different jellyfin instances running at once..

    (2026-04-18, 02:08 AM)dave_87426 Wrote: failed to bind host port 0.0.0.0:7359/udp: address already in use

    It means you're already using port 7359 on the host for another application/docker.  You need to find another port to use for jellyfin 7359.   The problem is that then "Client Discovery" port would also need to be changed on certain clients , so that it see's jellyfin.    Depending on your use case, you might not need this port.
    dave_87426
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2026 Apr
    Reputation: 0
    #6
    2026-04-18, 05:07 PM (This post was last modified: 2026-04-18, 05:26 PM by dave_87426. Edited 1 time in total.)
    Thanks i will give it a try and see now that works.

    changed the docker command to this

    docker run -d --name jellyfin --volume /media/data/jelltfinConfused-faceconfig --volume /media/TV_ShowsConfused-facemedia --net=host --publish 8096:8096 --env UID=1000 --env GID=100 --env GIDLIST=100 --restart on-failure jellyfin/jellyfin

    Now it is up and running.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode