Why Do My Docker Containers Fail to Update?

0
11
Asked By CloudyPineapple42 On

I'm having trouble with my Docker containers—they're refusing to update even though the update script runs and claims success. Everything seems fine until I realized that Plex isn't updating, which is causing issues with my remote streaming because it's stuck on an older version. Initially, I thought it was due to my containers running through a GluetunVPN network, but now the problem is happening to other containers too. Starting over would be such a hassle, so I'm hoping for some help figuring this out. I'm using Docker version 27.0.3 on Unraid 7.0.0, and I pasted the Plex container logs for reference if that helps.

4 Answers

Answered By ToolboxTroublemaker On

Another option is to use a script called Dockcheck to manage your containers easily. It simplifies the process of checking for updates and applies them without much hassle. Check it out at https://github.com/mag37/dockcheck—it's pretty user-friendly!

Answered By WittySpaceNinja2 On

To update your Docker containers correctly, you should stop them first, delete the old image, and then pull the latest version. Here's a basic rundown: `docker stop plex-server`, `docker rm plex-server`, and `docker run linuxserver/plex` to get the latest version. This way, you're not trying to update an active instance, which can lead to the kind of trouble you're seeing. Treating containers like cattle versus pets really helps with managing updates.

Answered By CleverTurtle7 On

It seems like you might be mixing up the idea of updating containers. There isn't a built-in 'docker update' command for containers in Docker. A better approach is to stop your Plex container, remove the old image, and then pull the latest one from Docker Hub to start fresh. Why update a running container when you can just replace it? Quick tip: use something like `docker pull linuxserver/plex:latest`, then stop the container, delete it, and recreate it with the new image.

Answered By FriendlyFox88 On

On my Unraid server, I can only update the Plex Docker container after I've stopped it manually. It seems like that would be a good step before attempting any updates. Also, keep in mind that if your container is pinned to a specific tag, it won't automatically update. Make sure to pull the latest image and run the container again.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.