Update docker image

Hello,

I have a docker server running. But I have a banner in the web interface that say to update the Plex version.

How could I update the docker container?

I have configured with docker-compose.

Kind regards.

Unless you have your container pinned to a specific version restarting the container should be enough to update the Plex version.

Hello,

This is my docker-compose.yml file:

version: '3'
services:
  plex:
    image: linuxserver/plex
    container_name: plex
    ports:
      - 32400:32400
    environment:
      - PUID=1000
      - PGID=1000
      - VERSION=docker
      - UMASK_SET=022 #optional
    volumes:
      - $PWD/docker_data/plex:/config
      - /mnt/plex:/data
    devices:
      - /dev/dri:/dev/dri
    restart: always

I restarted in Portainer:

But still the banner is there:

I am missing something?

Kind regards.

Restarting to update Plex only applies to the official docker image, not the LinuxServer image. I’m not familiar with Docker Compose or Portainer but you’ll need to figure out how to tell them to download a new image. By default they probably don’t download a new image.

OK, thanks for your replis.

Anyone with LinuxServer docker Plex image and docker-compose?

Kind regards.

I’m not sure how you accomplish this in your GUI (maybe that’s what the Recreate is? Check the docs to make sure), but in the CLI you’d want:

docker-compose pull
docker-compose up -d

I put a --remove-orphans on the last so if I disable a docker image in my compose file, it’ll remove the container. You can decided for yourself if you want that behavior.

Great!

It works! Thanks for your help.

Kins regards.

This is not correct. I run the Linuxserver.io image and restarting the container does upgrade Plex to the latest available version if a newer one is available. However, for this to work you must configure the container for it.

See: Docker

Look in the Application Setup section for the Version environment variable settings.

This topic was automatically closed after 90 days. New replies are no longer allowed.