@ -186,8 +187,28 @@ We automatically add the necessary environment variables that will use all avail
* image version number
* image version number
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/plex`
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/plex`
## Updating Info
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.
Below are the instructions for updating containers:
### Via Docker Run/Create
* Update the image: `docker pull linuxserver/plex`
* Stop the running container: `docker stop plex`
* Delete the container: `docker rm plex`
* 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)
* Start the new container: `docker start plex`
* You can also remove the old dangling images: `docker image prune`
### Via Docker Compose
* Update the image: `docker-compose pull linuxserver/plex`
* Let compose update containers as necessary: `docker-compose up -d`
* You can also remove the old dangling images: `docker image prune`