Skip to content

Commit 0fa3867

Browse files
committed
remove nvidia devices variable, add info to readme
1 parent ca9c86c commit 0fa3867

5 files changed

Lines changed: 7 additions & 8 deletions

File tree

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ LABEL maintainer="sparklyballs, thelamer"
99

1010
#Add needed nvidia environment variables for https://github.com/NVIDIA/nvidia-docker
1111
ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
12-
ENV NVIDIA_VISIBLE_DEVICES="all"
1312

1413
# global environment settings
1514
ENV DEBIAN_FRONTEND="noninteractive" \
@@ -20,7 +19,7 @@ PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \
2019
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \
2120
PLEX_MEDIA_SERVER_USER="abc" \
2221
PLEX_MEDIA_SERVER_INFO_VENDOR="Docker" \
23-
PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (linuxserver.io)"
22+
PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (LinuxServer.io)"
2423

2524
RUN \
2625
echo "**** install runtime packages ****" && \

Dockerfile.aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \
1717
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \
1818
PLEX_MEDIA_SERVER_USER="abc" \
1919
PLEX_MEDIA_SERVER_INFO_VENDOR="Docker" \
20-
PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (linuxserver.io)"
20+
PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (LinuxServer.io)"
2121

2222
RUN \
2323
echo "**** install runtime packages ****" && \

Dockerfile.armhf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \
1717
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \
1818
PLEX_MEDIA_SERVER_USER="abc" \
1919
PLEX_MEDIA_SERVER_INFO_VENDOR="Docker" \
20-
PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (linuxserver.io)"
20+
PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (LinuxServer.io)"
2121

2222
RUN \
2323
echo "**** install runtime packages ****" && \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Hardware accelleration users for Nvidia will need to install the container runti
174174

175175
https://github.com/NVIDIA/nvidia-docker
176176

177-
We automatically add the necessary environment variables that will use all available GPU's on the host. Once nvidia-docker is installed on your host you will need to just start the docker with the nvidia container runtime ```--runtime=nvidia```. NVIDIA automatically mounts the GPU and drivers from your host into the plex docker.
177+
We automatically add the necessary environment variables that will use all available GPU's on the host. Once nvidia-docker is installed on your host you will need to just start the docker with the nvidia container runtime ```--runtime=nvidia``` and add an environment variable ```-e NVIDIA_VISIBLE_DEVICES=all``` (can also be set to a specific gpu's UUID). NVIDIA automatically mounts the GPU and drivers from your host into the plex docker.
178178

179179

180180

@@ -208,7 +208,7 @@ Below are the instructions for updating containers:
208208

209209
## Versions
210210

211-
* **09.02.19:** - Fix nvidia variables, add device variables.
211+
* **11.02.19:** - Fix nvidia variables, add device variables.
212212
* **16.01.19:** - Add pipeline logic, multi arch, and HW transcoding configuration; remove avahi service.
213213
* **07.09.18:** - Rebase to ubuntu bionic, add udev package.
214214
* **09.12.17:** - Fix continuation lines.

readme-vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ app_setup_block: |
7979
8080
https://github.com/NVIDIA/nvidia-docker
8181
82-
We automatically add the necessary environment variables that will use all available GPU's on the host. Once nvidia-docker is installed on your host you will need to just start the docker with the nvidia container runtime ```--runtime=nvidia```. NVIDIA automatically mounts the GPU and drivers from your host into the plex docker.
82+
We automatically add the necessary environment variables that will use all available GPU's on the host. Once nvidia-docker is installed on your host you will need to just start the docker with the nvidia container runtime ```--runtime=nvidia``` and add an environment variable ```-e NVIDIA_VISIBLE_DEVICES=all``` (can also be set to a specific gpu's UUID). NVIDIA automatically mounts the GPU and drivers from your host into the plex docker.
8383
8484
# changelog
8585
changelogs:
86-
- { date: "09.02.19:", desc: "Fix nvidia variables, add device variables." }
86+
- { date: "11.02.19:", desc: "Fix nvidia variables, add device variables." }
8787
- { date: "16.01.19:", desc: "Add pipeline logic, multi arch, and HW transcoding configuration; remove avahi service." }
8888
- { date: "07.09.18:", desc: "Rebase to ubuntu bionic, add udev package." }
8989
- { date: "09.12.17:", desc: "Fix continuation lines." }

0 commit comments

Comments
 (0)