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.
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.
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.