From 0fa38675c2e3e871b412ea0bbbb7111a8697aef1 Mon Sep 17 00:00:00 2001 From: aptalca Date: Mon, 11 Feb 2019 21:08:30 +0000 Subject: [PATCH] remove nvidia devices variable, add info to readme --- Dockerfile | 3 +-- Dockerfile.aarch64 | 2 +- Dockerfile.armhf | 2 +- README.md | 4 ++-- readme-vars.yml | 4 ++-- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 773f90e..ca9d0d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,6 @@ LABEL maintainer="sparklyballs, thelamer" #Add needed nvidia environment variables for https://github.com/NVIDIA/nvidia-docker ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility" -ENV NVIDIA_VISIBLE_DEVICES="all" # global environment settings ENV DEBIAN_FRONTEND="noninteractive" \ @@ -20,7 +19,7 @@ PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \ PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \ PLEX_MEDIA_SERVER_USER="abc" \ PLEX_MEDIA_SERVER_INFO_VENDOR="Docker" \ -PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (linuxserver.io)" +PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (LinuxServer.io)" RUN \ echo "**** install runtime packages ****" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 53498bd..3aa48c8 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -17,7 +17,7 @@ PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \ PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \ PLEX_MEDIA_SERVER_USER="abc" \ PLEX_MEDIA_SERVER_INFO_VENDOR="Docker" \ -PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (linuxserver.io)" +PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (LinuxServer.io)" RUN \ echo "**** install runtime packages ****" && \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index bb7f8c1..1e2a6dc 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -17,7 +17,7 @@ PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \ PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \ PLEX_MEDIA_SERVER_USER="abc" \ PLEX_MEDIA_SERVER_INFO_VENDOR="Docker" \ -PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (linuxserver.io)" +PLEX_MEDIA_SERVER_INFO_DEVICE="Docker Container (LinuxServer.io)" RUN \ echo "**** install runtime packages ****" && \ diff --git a/README.md b/README.md index 2e9d60f..16085b5 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,7 @@ Hardware accelleration users for Nvidia will need to install the container runti https://github.com/NVIDIA/nvidia-docker -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. +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. @@ -208,7 +208,7 @@ Below are the instructions for updating containers: ## Versions -* **09.02.19:** - Fix nvidia variables, add device variables. +* **11.02.19:** - Fix nvidia variables, add device variables. * **16.01.19:** - Add pipeline logic, multi arch, and HW transcoding configuration; remove avahi service. * **07.09.18:** - Rebase to ubuntu bionic, add udev package. * **09.12.17:** - Fix continuation lines. diff --git a/readme-vars.yml b/readme-vars.yml index 36cafb1..5192ec4 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -79,11 +79,11 @@ app_setup_block: | https://github.com/NVIDIA/nvidia-docker - 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. + 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. # changelog changelogs: - - { date: "09.02.19:", desc: "Fix nvidia variables, add device variables." } + - { date: "11.02.19:", desc: "Fix nvidia variables, add device variables." } - { date: "16.01.19:", desc: "Add pipeline logic, multi arch, and HW transcoding configuration; remove avahi service." } - { date: "07.09.18:", desc: "Rebase to ubuntu bionic, add udev package." } - { date: "09.12.17:", desc: "Fix continuation lines." }