diff --git a/docs/general/installation/_container-docker-cli.md b/docs/general/installation/_container-docker-cli.md index 96c353dc..7c7bac02 100644 --- a/docs/general/installation/_container-docker-cli.md +++ b/docs/general/installation/_container-docker-cli.md @@ -56,7 +56,8 @@ Using host networking (`--net=host`) is optional but required in order to use DL docker run -d \ --name jellyfin \ --user uid:gid \ - --net=host \ + -p 8096:8096/tcp \ + -p 7359:7359/udp \ --volume /path/to/config:/config \ # Alternatively --volume jellyfin-config:/config --volume /path/to/cache:/cache \ # Alternatively --volume jellyfin-cache:/cache --mount type=bind,source=/path/to/media,target=/media \ diff --git a/docs/general/installation/_container-docker-compose.md b/docs/general/installation/_container-docker-compose.md index 3fdb1e25..1dffa737 100644 --- a/docs/general/installation/_container-docker-compose.md +++ b/docs/general/installation/_container-docker-compose.md @@ -21,7 +21,9 @@ services: image: jellyfin/jellyfin container_name: jellyfin user: uid:gid - network_mode: 'host' + ports: + - 8096:8096/tcp + - 7359:7359/udp volumes: - /path/to/config:/config - /path/to/cache:/cache diff --git a/docs/general/installation/_container-podman.md b/docs/general/installation/_container-podman.md index 01a632b6..d3de4682 100644 --- a/docs/general/installation/_container-podman.md +++ b/docs/general/installation/_container-podman.md @@ -16,7 +16,8 @@ Steps to run Jellyfin using Podman are similar to the Docker steps. --detach \ --label "io.containers.autoupdate=registry" \ --name myjellyfin \ - --network host \ + --publish 8096:8096/tcp \ + --publish 7359:7359/udp \ --rm \ --user $(id -u):$(id -g) \ --userns keep-id \ @@ -28,10 +29,11 @@ Steps to run Jellyfin using Podman are similar to the Docker steps. 3. Open the necessary ports in your machine's firewall if you wish to permit access to the Jellyfin server from outside the host. This is not done automatically when using rootless Podman. - If your distribution uses `firewalld`, the following commands save and load a new firewall rule opening the HTTP port `8096` for TCP connections. + If your distribution uses `firewalld`, the following commands save and load a new firewall rule opening the HTTP port `8096` for TCP connections. Additionaly port 7359 UDP needs to be opened for auto discovery. ```sh sudo firewall-cmd --add-port=8096/tcp --permanent + sudo firewall-cmd --add-port=7359/udp --permanent sudo firewall-cmd --reload ```