You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -163,17 +164,17 @@ Valid settings for VERSION are:-
163
164
+**`public`**: will update plexpass users to the latest public version, useful for plexpass users that don't want to be on the bleeding edge but still want the latest public updates.
164
165
+**`<specific-version>`**: will select a specific version (eg 0.9.12.4.1192-9a47d21) of plex to install, note you cannot use this to access plexpass versions if you do not have plexpass.
165
166
166
-
Hardware accelleration users for Intel Quicksync will need to mount their /dev/dri video device inside of the container by passing the following command when running or creating the container:
167
+
Hardware acceleration users for Intel Quicksync will need to mount their /dev/dri video device inside of the container by passing the following command when running or creating the container:
167
168
168
169
```--device=/dev/dri:/dev/dri```
169
170
170
171
We will automatically ensure the abc user inside of the container has the proper permissions to access this device.
171
172
172
-
Hardware accelleration users for Nvidia will need to install the container runtime provided by Nvidia on their host, instructions can be found here:
173
+
Hardware acceleration users for Nvidia will need to install the container runtime provided by Nvidia on their host, instructions can be found here:
173
174
174
175
https://github.com/NVIDIA/nvidia-docker
175
176
176
-
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 variable that will utilise all the features available on a GPU on the host. Once nvidia-docker is installed on your host you will need to re/create the docker container 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, this can be discovered by running `nvidia-smi --query-gpu=gpu_name,gpu_uuid --format=csv` ). NVIDIA automatically mounts the GPU and drivers from your host into the plex docker.
177
178
178
179
179
180
@@ -186,8 +187,28 @@ We automatically add the necessary environment variables that will use all avail
186
187
* image version number
187
188
*`docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/plex`
188
189
190
+
## Updating Info
191
+
192
+
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (ie. nextcloud, plex), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
193
+
194
+
Below are the instructions for updating containers:
195
+
196
+
### Via Docker Run/Create
197
+
* Update the image: `docker pull linuxserver/plex`
198
+
* Stop the running container: `docker stop plex`
199
+
* Delete the container: `docker rm plex`
200
+
* Recreate a new container with the same docker create parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
201
+
* Start the new container: `docker start plex`
202
+
* You can also remove the old dangling images: `docker image prune`
203
+
204
+
### Via Docker Compose
205
+
* Update the image: `docker-compose pull linuxserver/plex`
206
+
* Let compose update containers as necessary: `docker-compose up -d`
207
+
* You can also remove the old dangling images: `docker image prune`
Copy file name to clipboardExpand all lines: readme-vars.yml
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -69,20 +69,21 @@ app_setup_block: |
69
69
+ **`public`**: will update plexpass users to the latest public version, useful for plexpass users that don't want to be on the bleeding edge but still want the latest public updates.
70
70
+ **`<specific-version>`**: will select a specific version (eg 0.9.12.4.1192-9a47d21) of plex to install, note you cannot use this to access plexpass versions if you do not have plexpass.
71
71
72
-
Hardware accelleration users for Intel Quicksync will need to mount their /dev/dri video device inside of the container by passing the following command when running or creating the container:
72
+
Hardware acceleration users for Intel Quicksync will need to mount their /dev/dri video device inside of the container by passing the following command when running or creating the container:
73
73
74
74
```--device=/dev/dri:/dev/dri```
75
75
76
76
We will automatically ensure the abc user inside of the container has the proper permissions to access this device.
77
77
78
-
Hardware accelleration users for Nvidia will need to install the container runtime provided by Nvidia on their host, instructions can be found here:
78
+
Hardware acceleration users for Nvidia will need to install the container runtime provided by Nvidia on their host, instructions can be found here:
79
79
80
80
https://github.com/NVIDIA/nvidia-docker
81
81
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 variable that will utilise all the features available on a GPU on the host. Once nvidia-docker is installed on your host you will need to re/create the docker container 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, this can be discovered by running `nvidia-smi --query-gpu=gpu_name,gpu_uuid --format=csv` ). NVIDIA automatically mounts the GPU and drivers from your host into the plex docker.
0 commit comments