Skip to content

Commit 3258a1c

Browse files
debloperigorpecovnik
authored andcommitted
fix(docker): avoid confusing hardware accelerator as container name
Currently, installing Jellyfin, using the script (on a ROCK 5C, with RKMPP hardware accelerator) results into: ``` docker: invalid reference format Run 'docker run --help' for more information ``` This patch fixes it.
1 parent 45feda3 commit 3258a1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/modules/software/module_jellyfin.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ function module_jellyfin () {
4747
[[ -d "$JELLYFIN_BASE" ]] || mkdir -p "$JELLYFIN_BASE" || { echo "Couldn't create storage directory: $JELLYFIN_BASE"; exit 1; }
4848
docker run -d \
4949
--name=jellyfin \
50-
--net=lsio "${hwacc}" \
50+
--net=lsio \
51+
${hwacc} \
5152
-e PUID=1000 \
5253
-e PGID=1000 \
5354
-e TZ="$(cat /etc/timezone)" \

0 commit comments

Comments
 (0)