• 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 Support Troubleshooting Networking & Access Problems running Jellyfin from a Docker Compose

     
    • 0 Vote(s) - 0 Average

    Problems running Jellyfin from a Docker Compose

    Running Jellyfin on a docker compose to try and stream photos and videos over a local network.
    browbeat7900
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #1
    2024-08-22, 03:18 PM
    Hello all,

    I am very new to self-hosting with Jellyfin and was directed to use docker compose to run jellyfin on my machine running Ubuntu 24.04 LTS.

    I set up a docker-compose.yaml file (shown below) using the jellyfin documentation and a few pointers from other users on reddit and other forums; such as adding ports (http) , changing network mode to bridge, etc.

    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: jellyfin
        user: 1000:1000
        network_mode: 'bridge'
        volumes:
          - /home/browbeat/jellyfin/config:/config
          - /home/browbeat/jellyfin/cache:/cache
          - type: bind
            source: /home/browbeat/jellyfin/media
            target: /media
          - type: bind
            source: /home/browbeat/jellyfin/media2
            target: /media2
            read_only: true
        ports:
          - "8096:8096"
        restart: 'unless-stopped'

    when starting the docker compose (after giving docker the proper permissions to run without sudo) I keep receiving the error
    "Error response from daemon: driver failed programming external connectivity on endpoint jellyfin (ea2ae228cadcae6b155230ff723239f7032a1cf1968572b260ca24ce6fc77f46): failed to bind port 0.0.0.0:8096/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:8096: bind: address already in use"

    I tried doing "docker compose down" and other commands found in threads to close all docker containers but the error still persisted.

    when running in host rather than bridge, I am unable to access my media library despite supplying the docker compose my file paths and giving it user 1000 in the yaml file.

    FWIW: I am trying to host this as a server to stream photos and videos over a local network.

    I am a bit confused as to what exactly I am doing wrong here and am a bit lost in searching through documentation and forums as I am very new to all of this. Any help from the community is appreciated as I just don't really know where to go from here.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Problems running Jellyfin from a Docker Compose - by browbeat7900 - 2024-08-22, 03:18 PM
    RE: Problems running Jellyfin from a Docker Compose - by TheDreadPirate - 2024-08-23, 02:03 PM
    RE: Problems running Jellyfin from a Docker Compose - by browbeat7900 - 2024-08-25, 06:21 PM
    RE: Problems running Jellyfin from a Docker Compose - by TheDreadPirate - 2024-08-25, 10:57 PM
    RE: Problems running Jellyfin from a Docker Compose - by browbeat7900 - 2024-08-26, 12:36 PM
    RE: Problems running Jellyfin from a Docker Compose - by TheDreadPirate - 2024-08-26, 01:27 PM
    RE: Problems running Jellyfin from a Docker Compose - by browbeat7900 - 2024-08-26, 03:54 PM
    RE: Problems running Jellyfin from a Docker Compose - by TheDreadPirate - 2024-08-26, 04:21 PM
    RE: Problems running Jellyfin from a Docker Compose - by browbeat7900 - 2024-08-28, 11:49 AM

    • 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