Display More4) Create a run-time script:
docker run -d \
--name jellyfin \
-v /storage/jellyfin/:/config \
-v /storage/jellyfin/cache:/cache \
-v /media:/media \
--net=host \
-e ServerIP=$(ip route get 9.9.9.9 | awk '{ print $NF; exit }') \
--restart=unless-stopped \
jellyfin/jellyfin
Where
-v /storage/jellyfin/:/config
* Is where jellyfin stores it database and configuration files *
-v /storage/jellyfin/cache:/cache \
* Is where jellyfin stores it's cache *
-v /media:/media \
*Is where your media is stored - LE auto mounts to this location - not too sure if it is required *
chmod +x <your script> and run it.
This is where I get stuck.
when I run the .sh I get:
Code
"docker run" requires at least 1 argument.
See 'docker run --help'.
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
./jellyfin.sh: line 3: --name: not found
./jellyfin.sh: line 5: -v: not found
./jellyfin.sh: line 7: -v: not found
./jellyfin.sh: line 9: -v: not found
./jellyfin.sh: line 11: --net=host: not found
./jellyfin.sh: line 13: -e: not found
./jellyfin.sh: line 15: --restart=unless-stopped: not found
./jellyfin.sh: line 17: jellyfin/jellyfin: not found
Display More
Seems I'm missing a lot.